@font-face {
  font-family: "DM Sans";
  src: url("../dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #211d37;
  --muted: #665f79;
  --purple: #645ba3;
  --rail: #6660aa;
  --surface: #fff;
  --bg: #eff0fa;
  --line: #e8e5f1;
  --rail-width: clamp(184px, 22.8vw, 257px);
  --gap: clamp(14px, 1.5vw, 23px);
  --pad: clamp(20px, 2vw, 31px);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    400 16px/1.5 "DM Sans",
    Inter,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  border: none;
  background: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.62;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #966dcc;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
strong {
  color: var(--ink);
}
h1,
h2,
h3 {
  line-height: 1.23;
}
h1 {
  font-size: clamp(1.25rem, 1.8vw, 1.78rem);
  letter-spacing: -0.048em;
  font-weight: 750;
}
h2 {
  font-size: clamp(1.15rem, 1.45vw, 1.45rem);
  font-weight: 730;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 1.09rem;
  letter-spacing: -0.018em;
}
small {
  font-size: 0.81rem;
  line-height: 1.45;
}
svg {
  flex-shrink: 0;
  stroke-width: 1.65;
}
img {
  max-width: 100%;
}
.app-shell {
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  min-height: 100svh;
}
.skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 20;
  border-radius: 12px;
  padding: 10px 15px;
  background: white;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100svh;
  overflow: hidden;
  background: linear-gradient(145deg, #655fa8, #6b63b0 58%, #655da5);
  color: white;
  z-index: 4;
}
.rail-top {
  position: relative;
  flex: none;
  padding: clamp(27px, 3.1vw, 47px) clamp(19px, 2.2vw, 34px)
    clamp(29px, 3vw, 46px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  white-space: nowrap;
}
.brand-mark {
  width: 42px;
  height: 45px;
  color: #faf5ff;
}
.brand > span {
  display: grid;
}
.brand strong {
  color: #fff;
  font-size: clamp(1.8rem, 2.45vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 670;
}
.brand small {
  margin-top: 6px;
  color: #f1eaff;
  font-size: 0.85rem;
  font-weight: 430;
  line-height: 1;
}
.rail-toggle,
.nav-shade {
  display: none;
}
.main-nav {
  display: grid;
  gap: 6px;
  flex: none;
  padding: 0 clamp(12px, 1.36vw, 21px);
}
.main-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  color: #fff;
  font-weight: 490;
  font-size: 0.95rem;
  line-height: 1.25;
  border-radius: 15px;
  transition:
    background 0.16s,
    color 0.16s;
}
.main-nav a:hover {
  background: #ffffff13;
}
.main-nav a.active {
  color: #28213d;
  background: #ded6f5;
  box-shadow: 0 2px 8px #463d8816;
}
.main-nav a > svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.55;
}
.nav-label {
  min-width: 0;
}
.nav-count {
  margin-left: auto;
  min-width: 21px;
  padding: 2px 4px;
  border-radius: 10px;
  background: #ffffff18;
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.4;
  color: #fff;
}
.main-nav a.active .nav-count {
  background: #bfb2df;
  color: #393150;
}
.rail-art {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}
.rail-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("vase-edge.webp") center bottom/100% 100% no-repeat;
  mask-image: linear-gradient(to bottom, transparent, #000 12%);
}
.rail-art img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(to bottom, transparent, #000 12%);
  mix-blend-mode: normal;
}
.main {
  min-width: 0;
  padding: var(--gap);
  background: linear-gradient(125deg, #ebeef9 0%, #f0f1fa 47%, #eef0f9 100%);
}
.main-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: var(--gap);
}
.panel {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 3px 12px #55508105;
}
.topbar {
  min-height: 73px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px var(--pad);
  justify-content: space-between;
}
.topbar h1:focus {
  outline: none;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}
.search-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: clamp(160px, 18.5vw, 268px);
  height: 40px;
  border-radius: 100px;
  background: #f8f7fc;
  color: #797487;
  padding: 0 0 0 16px;
  gap: 12px;
  text-align: left;
  font-size: 0.84rem;
}
.search-launch .placeholder {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-disk {
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #8277c0, #61589d);
  color: white;
  width: 46px;
  height: 40px;
  border-radius: 100px;
}
.search-disk svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.9;
}
.search-launch:hover .search-disk {
  background: var(--purple);
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #645c77;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 2px;
}
.lang-toggle svg {
  width: 15px;
  height: 15px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
}
.icon-button svg {
  width: 20px;
  height: 20px;
}
.icon-button:hover,
.lang-toggle:hover {
  background: #f2effa;
}
.bell {
  position: relative;
}
.bell i {
  position: absolute;
  top: 4px;
  right: 5px;
  border: 2px solid #fff;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #d887b6;
}
.subtle {
  background: #f5f3fa;
  color: #59516e;
}
.page-content {
  display: grid;
  gap: var(--gap);
}
.profile-card {
  display: flex;
  position: relative;
  align-items: center;
  gap: clamp(24px, 3.1vw, 50px);
  min-height: 240px;
  padding: clamp(23px, 2vw, 31px) var(--pad);
  overflow: hidden;
}
.portrait-wrap {
  flex: 0 0 clamp(145px, 17.5vw, 207px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #e6dcf7;
}
.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-body {
  min-width: 0;
}
.profile-body h2 {
  font-size: clamp(1.55rem, 2.45vw, 2.38rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -0.052em;
}
.role {
  margin: 5px 0 11px;
  font-size: 1rem;
  line-height: 1.35;
  color: #73639c;
  font-weight: 560;
}
.profile-facts {
  display: grid;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.93rem;
  color: #353044;
}
.profile-facts li {
  display: flex;
  align-items: center;
  gap: 11px;
}
.profile-facts svg {
  width: 17px;
  height: 17px;
  color: #5f5578;
  stroke-width: 1.75;
}
.profile-links {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-top: 15px;
}
.profile-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8274b9, #5d569b);
  color: white;
  display: grid;
  place-items: center;
  transition:
    transform 0.15s,
    background 0.15s;
}
.profile-link svg {
  width: 15.5px;
  height: 15.5px;
}
.profile-link:hover {
  transform: translateY(-2px);
  background: #59518c;
}
.bookmark {
  position: absolute;
  right: var(--pad);
  top: var(--pad);
  width: 32px;
  height: 32px;
}
.bookmark svg {
  width: 16px;
  height: 16px;
}
.bookmark.saved {
  color: #6a58a1;
  background: #ebe5f7;
}
.middle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(220px, 1fr);
  gap: var(--gap);
}
.library-card {
  padding: clamp(20px, 1.8vw, 28px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.library-card h2 {
  margin-bottom: 19px;
}
.timeline {
  display: grid;
  gap: 12px;
  position: relative;
  flex: 1;
}
.timeline:before {
  content: "";
  width: 2px;
  background: #8678b2;
  position: absolute;
  left: 8px;
  top: calc((100% - 24px) / 6);
  bottom: calc((100% - 24px) / 6);
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: stretch;
  padding-left: 30px;
  min-width: 0;
}
.timeline-dot {
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #7969b6;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #73659d;
}
.periwinkle {
  --tint: #f0f2fb;
  --tint2: #f5f6fd;
  --iconbg: #dce1f8;
  --iconend: #d3dcf8;
  --accent: #4e558c;
  --chip: #d6eddd;
  --chiptxt: #286747;
  --chev: #9c9ccd;
}
.lilac {
  --tint: #f2eefb;
  --tint2: #f6f1fc;
  --iconbg: #e6dcf7;
  --iconend: #dccdf1;
  --accent: #71538d;
  --chip: #e2d8f2;
  --chiptxt: #5e4885;
  --chev: #b497d5;
}
.blush {
  --tint: #faedf6;
  --tint2: #faeff8;
  --iconbg: #f9dced;
  --iconend: #f8d4e7;
  --accent: #965873;
  --chip: #e5dcf6;
  --chiptxt: #5d488b;
  --chev: #ce93c7;
}
.timeline-card {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.38vw, 22px);
  padding: 15px 17px;
  min-height: 96px;
  width: 100%;
  text-align: left;
  border-radius: 14px;
  background: linear-gradient(100deg, var(--tint), var(--tint2));
  border: 1px solid transparent;
  transition:
    transform 0.17s,
    border 0.17s;
}
.timeline-card:hover {
  transform: translateX(2px);
  border-color: var(--iconbg);
}
.product-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--iconbg), var(--iconend));
  color: var(--accent);
}
.product-icon svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.45;
}
.row-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.row-copy strong,
.journal-copy strong {
  font-size: clamp(0.94rem, 1.18vw, 1.09rem);
  font-weight: 710;
  line-height: 1.26;
  letter-spacing: -0.028em;
}
.row-desc {
  font-size: 0.88rem;
  color: #615c72;
  line-height: 1.4;
}
.row-meta {
  font-size: 0.77rem;
  color: #696479;
  line-height: 1.35;
}
.row-end {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 9px;
  flex: none;
}
.price-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--chip, #e4dcf2);
  color: var(--chiptxt, #53437b);
  font-size: 0.79rem;
  font-weight: 720;
  line-height: 1.35;
  white-space: nowrap;
}
.round-chevron {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: white;
  border-radius: 50%;
  background: var(--chev);
}
.round-chevron svg {
  stroke-width: 2;
}
.center {
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  line-height: 1.35;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 620;
  text-align: center;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.soft {
  background: #f0edf8;
  color: #4f426c;
}
.soft:hover {
  background: #e7e0f4;
}
.browse {
  margin-top: 15px;
  min-height: 35px;
  padding: 6px 16px;
  font-size: 0.83rem;
}
.primary {
  background: #63579c;
  color: white;
}
.primary:hover {
  background: #514687;
}
.full {
  width: 100%;
  min-height: 45px;
}
.right-stack {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 13px;
  min-width: 0;
}
.wallet-card {
  padding: 20px clamp(15px, 1.5vw, 23px);
}
.wallet-card h2 {
  font-size: clamp(1.05rem, 1.29vw, 1.27rem);
}
.bundle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 19px;
  background: linear-gradient(135deg, #625899 0%, #524b8a 100%);
  color: #fff;
  display: flex;
}
.bundle-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  padding: 19px clamp(15px, 1.5vw, 23px);
  width: 100%;
}
.bundle h2 {
  color: white;
  font-size: clamp(1.15rem, 1.56vw, 1.48rem);
}
.bundle ul {
  list-style: none;
  display: grid;
  gap: 4px;
  margin: 10px 0 15px;
  padding: 0;
}
.bundle li {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: 0.83rem;
  line-height: 1.45;
  color: #f9f5ff;
}
.bundle li svg {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #d5c5ef;
}
.bundle-button {
  border-radius: 9px;
  min-height: 36px;
  padding: 7px 10px;
  margin-top: auto;
  width: 100%;
  background: linear-gradient(105deg, #edb6d7, #e3a1d3);
  color: #452b50;
  font-size: 0.86rem;
  font-weight: 690;
}
.bundle-button:hover {
  background: #f1c2e3;
}
.bundle-watermark {
  position: absolute;
  right: -17px;
  top: -25px;
  transform: rotate(15deg);
  width: 98px;
  height: 98px;
  color: #d6c6ff;
  opacity: 0.09;
  stroke-width: 1;
}
.journal {
  padding: 20px var(--pad);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.journal h2 {
  margin-bottom: 12px;
}
.journal-lines {
  position: relative;
  z-index: 1;
  width: calc(100% - clamp(105px, 13.3vw, 215px));
  min-width: 0;
}
.journal-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 0;
  min-height: 50px;
  width: 100%;
  text-align: left;
  border-radius: 8px;
}
.journal-row:hover {
  background: #f9f7fc;
}
.journal-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #eae4f7;
  color: #7765a0;
}
.journal-icon svg {
  width: 18px;
  height: 18px;
}
.tone1 {
  background: #f7e4f1;
  color: #a06b96;
}
.tone2 {
  background: #ece6fa;
  color: #79649a;
}
.journal-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.journal-copy strong {
  font-size: 0.96rem;
}
.journal-copy small,
.journal-time {
  color: var(--muted);
  font-size: 0.77rem;
}
.journal-time {
  margin-left: auto;
  white-space: nowrap;
}
.journal-chevron {
  margin-left: 5px;
  color: #686074;
}
.desk-art {
  position: absolute;
  right: 0;
  bottom: 8px;
  z-index: 0;
  height: 82%;
  width: auto;
  max-width: 22%;
  object-fit: contain;
  object-position: bottom right;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.section-page {
  padding: var(--pad);
  animation: appear 0.19s ease both;
}
.section-lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
  margin-bottom: 24px;
  max-width: 65ch;
}
.category {
  color: #746194;
  font-size: 0.83rem;
  font-weight: 620;
}
.dialog {
  position: fixed;
  width: min(470px, calc(100% - 30px));
  margin: auto;
  max-height: 85svh;
  overflow: auto;
  border: none;
  box-shadow: 0 25px 95px #21183e45;
  border-radius: 21px;
  padding: 25px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.dialog.wide {
  width: min(540px, calc(100% - 30px));
}
.dialog::backdrop {
  background: #28203f64;
  backdrop-filter: blur(3px);
}
.dialog[open] {
  animation: appear 0.16s ease both;
}
.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.dialog-head h2 {
  font-size: 1.38rem;
  align-self: center;
}
.dialog-head .icon-button {
  width: 31px;
  height: 31px;
  border-radius: 9px;
}
.dialog h3 {
  margin-top: 19px;
  margin-bottom: 8px;
}
.body-copy {
  margin: 11px 0;
}
.body-copy {
  color: #514b60;
  font-size: 1rem;
  line-height: 1.65;
}
.checkout-product {
  display: flex;
  align-items: center;
  gap: 13px;
}
.checkout-product > div,
.download > span {
  display: grid;
  gap: 3px;
}
.checkout-product small,
.download small {
  color: var(--muted);
}
.includes {
  margin: 14px 0 19px;
  padding-left: 21px;
}
.includes {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}
.includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
}
.includes svg {
  width: 17px;
  height: 17px;
  color: var(--purple);
}
.search-results {
  display: grid;
  margin-top: 11px;
}
.search-results button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 3px;
  text-align: left;
  border-bottom: 1px solid #f0edf6;
}
.search-results button:hover {
  background: #f8f6fc;
}
.search-results button > span:nth-child(2) {
  display: grid;
  gap: 1px;
}
.search-results small {
  color: var(--muted);
}
.search-results button > svg:last-child {
  margin-left: auto;
  width: 16px;
}
.search-results > p {
  padding: 12px;
  color: var(--muted);
}
.download {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #f2eff9;
  border: 1px solid #e6dfef;
  border-radius: 11px;
  padding: 13px 14px;
}
.download:hover {
  background: #eae4f5;
}
.download svg {
  color: var(--purple);
}
.error {
  margin-top: 11px;
  color: #96335d;
  font-size: 0.9rem;
}
.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 10px);
  border-radius: 12px;
  background: #302b48;
  color: white;
  padding: 9px 15px;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  transition: 0.18s;
  font-size: 0.91rem;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1450px) {
  .main {
    padding-inline: clamp(23px, 3vw, 65px);
  }
  .main-nav {
    gap: 8px;
  }
  .main-nav a {
    min-height: 50px;
  }
}
@media (min-width: 901px) and (max-height: 760px) {
  .rail-top {
    padding-top: 26px;
    padding-bottom: 25px;
  }
  .main-nav {
    gap: 4px;
  }
  .main-nav a {
    min-height: 43px;
    padding-block: 8px;
  }
}
@media (max-width: 1000px) {
  :root {
    --gap: 14px;
    --pad: 20px;
  }
  .main-nav a {
    font-size: 0.87rem;
    gap: 9px;
    padding-inline: 10px;
  }
  .brand {
    gap: 10px;
  }
  .brand-mark {
    width: 34px;
  }
  .middle-grid {
    grid-template-columns: minmax(0, 1.82fr) minmax(170px, 1fr);
    gap: 12px;
  }
  .library-card {
    padding: 17px;
  }
  .timeline-item {
    padding-left: 23px;
  }
  .timeline-card {
    padding: 11px;
    gap: 10px;
  }
  .product-icon {
    width: 46px;
    height: 46px;
  }
  .product-icon svg {
    width: 24px;
    height: 24px;
  }
  .row-desc {
    font-size: 0.81rem;
  }
  .wallet-card,
  .bundle-content {
    padding: 16px 13px;
  }
  .row-copy strong {
    font-size: 0.94rem;
  }
  .header-actions {
    gap: 8px;
  }
  .profile-card {
    min-height: 229px;
  }
  .journal-lines {
    width: calc(100% - 115px);
  }
}
@media (max-width: 790px) and (min-width: 641px) {
  :root {
    --rail-width: clamp(158px, 24.9vw, 185px);
    --gap: 16px;
    --pad: 17px;
  }
  .topbar {
    min-height: 65px;
    gap: 5px;
  }
  .header-actions {
    gap: 6px;
  }
  .search-launch {
    width: 133px;
    height: 35px;
    padding-left: 10px;
  }
  .search-disk {
    width: 36px;
    height: 35px;
  }
  .lang-toggle {
    gap: 3px;
  }
  .main-nav {
    padding-inline: 10px;
    gap: 6px;
  }
  .main-nav a {
    font-size: 0.8rem;
    min-height: 44px;
    gap: 8px;
  }
  .main-nav a > svg {
    width: 17px;
    height: 17px;
  }
  .rail-top {
    padding: 31px 17px 30px;
  }
  .profile-card {
    gap: 20px;
    align-items: flex-start;
    padding: 22px 18px;
    min-height: 263px;
  }
  .portrait-wrap {
    flex-basis: 35%;
    max-width: 176px;
  }
  .profile-body h2 {
    font-size: 1.45rem;
  }
  .profile-facts {
    font-size: 0.85rem;
    gap: 7px;
  }
  .profile-links {
    gap: 7px;
  }
  .profile-link {
    width: 27px;
    height: 27px;
  }
  .role {
    font-size: 0.88rem;
  }
  .bookmark {
    top: 13px;
    right: 13px;
    width: 26px;
    height: 26px;
  }
  .middle-grid {
    grid-template-columns: minmax(0, 1.75fr) minmax(150px, 1fr);
    gap: 10px;
  }
  .library-card {
    padding: 15px 11px;
  }
  .library-card h2 {
    padding-left: 3px;
  }
  .timeline-item {
    padding-left: 19px;
  }
  .timeline-dot {
    width: 12px;
    height: 12px;
    left: 0;
  }
  .timeline:before {
    left: 5px;
  }
  .timeline-card {
    padding: 10px 8px;
    gap: 7px;
  }
  .timeline-card .product-icon {
    width: 35px;
    height: 35px;
  }
  .timeline-card .product-icon svg {
    width: 21px;
    height: 21px;
  }
  .row-copy strong {
    font-size: 0.86rem;
  }
  .row-desc {
    font-size: 0.76rem;
    line-height: 1.32;
  }
  .price-chip {
    min-width: 26px;
    padding: 2px 5px;
    font-size: 0.73rem;
  }
  .row-meta {
    font-size: 0.73rem;
  }
  .wallet-card h2 {
    font-size: 1rem;
  }
  .wallet-card,
  .bundle-content {
    padding: 15px 12px;
  }
  .bundle h2 {
    font-size: 1.13rem;
  }
  .panel,
  .bundle {
    border-radius: 16px;
  }
  .bundle li {
    font-size: 0.76rem;
  }
  .journal-lines {
    width: calc(100% - 100px);
  }
  .journal-row {
    gap: 8px;
  }
  .journal-time {
    font-size: 0.7rem;
  }
  .journal-icon {
    width: 31px;
    height: 31px;
  }
  .journal-copy strong {
    font-size: 0.84rem;
  }
  .journal-copy small {
    font-size: 0.73rem;
  }
  .journal-chevron {
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  :root {
    --rail-width: 53px;
    --gap: 10px;
    --pad: 14px;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-width);
    z-index: 6;
  }
  .main {
    grid-column: 2;
  }
  .rail-top {
    padding: 15px 0 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .brand-mark {
    width: 29px;
    height: 33px;
  }
  .rail-top .brand span {
    display: none;
  }
  .rail-toggle {
    display: grid;
    place-items: center;
    width: 36px;
    height: 34px;
    color: #fff;
    border-radius: 8px;
    background: #ffffff18;
  }
  .rail-toggle svg {
    width: 17px;
    height: 17px;
  }
  .main-nav {
    padding: 0 5px;
    gap: 4px;
  }
  .main-nav a {
    justify-content: center;
    min-height: 43px;
    width: 100%;
    padding: 8px;
    border-radius: 12px;
  }
  .main-nav a > svg {
    width: 18px;
    height: 18px;
  }
  .nav-label,
  .nav-count {
    display: none;
  }
  .rail-art img {
    height: auto;
    max-height: 100%;
    object-position: left bottom;
  }
  .drawer-open .sidebar {
    width: min(230px, 81vw);
    box-shadow: 8px 0 30px #29203d30;
  }
  .drawer-open .rail-top {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 15px;
  }
  .drawer-open .rail-top .brand span {
    display: grid;
  }
  .drawer-open .brand strong {
    font-size: 1.7rem;
  }
  .drawer-open .main-nav {
    padding: 0 12px;
  }
  .drawer-open .main-nav a {
    justify-content: flex-start;
    padding: 10px 12px;
  }
  .drawer-open .nav-label,
  .drawer-open .nav-count {
    display: block;
  }
  .drawer-open .nav-shade {
    display: block;
    position: fixed;
    inset: 0;
    background: #211c3c53;
    z-index: 5;
  }
  .drawer-open .rail-art img {
    height: 100%;
  }
  .topbar {
    padding: 10px 12px;
    min-height: 54px;
    gap: 5px;
  }
  .topbar h1 {
    font-size: 1.12rem;
  }
  .header-actions {
    gap: 4px;
  }
  .search-launch {
    width: 31px;
    height: 31px;
    padding: 0;
  }
  .placeholder {
    display: none;
  }
  .search-disk {
    width: 31px;
    height: 31px;
  }
  .search-disk svg {
    width: 15px;
    height: 15px;
  }
  .lang-toggle {
    font-size: 0.7rem;
    min-height: 33px;
    padding: 4px;
    gap: 3px;
  }
  .lang-toggle svg {
    width: 12px;
    height: 12px;
  }
  .bell {
    width: 27px;
    height: 32px;
  }
  .bell svg {
    width: 17px;
    height: 17px;
  }
  .bell i {
    top: 3px;
    right: 2px;
  }
  .panel,
  .bundle {
    border-radius: 15px;
  }
  .profile-card {
    align-items: center;
    gap: 14px;
    min-height: 0;
    padding: 20px 13px;
  }
  .portrait-wrap {
    flex-basis: clamp(65px, 22vw, 126px);
  }
  .profile-body h2 {
    font-size: clamp(1.1rem, 4.45vw, 1.44rem);
  }
  .role {
    font-size: 0.79rem;
    margin: 4px 0 8px;
  }
  .profile-facts {
    font-size: 0.77rem;
    line-height: 1.35;
    gap: 5px;
  }
  .profile-facts li {
    gap: 5px;
  }
  .profile-facts svg {
    width: 13px;
    height: 13px;
  }
  .profile-links {
    gap: 5px;
    margin-top: 10px;
  }
  .profile-link {
    width: 24px;
    height: 24px;
  }
  .profile-link svg {
    width: 13px;
    height: 13px;
  }
  .bookmark {
    top: 9px;
    right: 9px;
    width: 24px;
    height: 24px;
  }
  .bookmark svg {
    width: 13px;
    height: 13px;
  }
  .middle-grid {
    grid-template-columns: minmax(0, 1.53fr) minmax(0, 1fr);
    gap: 8px;
  }
  .library-card {
    padding: 13px 8px;
  }
  .library-card h2,
  .wallet-card h2,
  .journal h2 {
    font-size: 1rem;
  }
  .library-card h2 {
    margin-bottom: 13px;
  }
  .timeline {
    gap: 8px;
  }
  .timeline-item {
    padding-left: 13px;
  }
  .timeline-dot {
    width: 9px;
    height: 9px;
    left: 0;
    border-width: 1px;
  }
  .timeline:before {
    left: 4px;
    width: 1px;
    top: calc((100% - 16px) / 6);
    bottom: calc((100% - 16px) / 6);
  }
  .timeline-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 2px;
    padding: 9px 8px;
    min-height: 0;
    border-radius: 10px;
  }
  .timeline-card .product-icon {
    width: 29px;
    height: 29px;
    grid-column: 1;
    grid-row: 1;
  }
  .timeline-card .product-icon svg {
    width: 16px;
    height: 16px;
  }
  .row-copy {
    display: grid;
    grid-column: 1/-1;
    grid-row: 2;
    gap: 4px;
  }
  .row-copy strong {
    font-size: 0.81rem;
    line-height: 1.27;
  }
  .row-desc {
    display: none;
  }
  .row-meta {
    font-size: 0.71rem;
    line-height: 1.3;
  }
  .row-end {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .round-chevron {
    display: none;
  }
  .price-chip {
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.25;
    padding: 3px 5px;
  }
  .browse {
    font-size: 0.74rem;
    padding: 5px 8px;
    min-height: 34px;
    margin-top: 11px;
  }
  .right-stack {
    gap: 8px;
  }
  .wallet-card,
  .bundle-content {
    padding: 13px 9px;
  }
  .wallet-card h2 {
    font-size: 0.9rem;
  }
  .bundle h2 {
    font-size: 0.99rem;
    line-height: 1.2;
  }
  .bundle ul {
    gap: 6px;
    margin: 10px 0;
  }
  .bundle li {
    font-size: 0.71rem;
    line-height: 1.35;
    gap: 3px;
  }
  .bundle li svg {
    width: 10px;
    height: 10px;
  }
  .bundle-button {
    font-size: 0.72rem;
    line-height: 1.32;
    padding: 6px 4px;
    border-radius: 7px;
    min-height: 33px;
  }
  .bundle-watermark {
    width: 65px;
    height: 65px;
  }
  .journal {
    padding: 14px 10px;
  }
  .journal h2 {
    margin-bottom: 8px;
  }
  .journal-lines {
    width: calc(100% - 48px);
  }
  .journal-row {
    gap: 7px;
    min-height: 41px;
    padding: 5px 0;
  }
  .journal-copy strong {
    font-size: 0.78rem;
  }
  .journal-copy small {
    font-size: 0.71rem;
  }
  .journal-icon {
    width: 25px;
    height: 25px;
  }
  .journal-icon svg {
    width: 14px;
    height: 14px;
  }
  .journal-time {
    display: none;
  }
  .journal-chevron {
    margin-left: auto;
    width: 12px;
  }
  .desk-art {
    max-width: 18%;
    height: 70%;
    bottom: 2px;
  }
  .section-page {
    padding: 16px 13px;
  }
  .section-lead {
    font-size: 0.94rem;
    margin-bottom: 15px;
  }
  .dialog {
    padding: 19px;
  }
  .dialog-head h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 370px) {
  :root {
    --rail-width: 45px;
    --gap: 7px;
  }
  .main-nav {
    padding-inline: 3px;
  }
  .topbar {
    padding-inline: 8px;
  }
  .header-actions {
    gap: 1px;
  }
  .lang-toggle svg {
    display: none;
  }
  .profile-card {
    gap: 8px;
    padding: 18px 9px;
  }
  .portrait-wrap {
    flex-basis: 63px;
  }
  .profile-facts {
    font-size: 0.72rem;
  }
  .profile-links {
    gap: 3px;
  }
  .profile-link {
    width: 22px;
    height: 22px;
  }
  .bookmark {
    top: 5px;
    right: 5px;
    width: 19px;
    height: 19px;
  }
  .middle-grid {
    gap: 6px;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  }
  .wallet-card,
  .bundle-content {
    padding: 11px 7px;
  }
  .library-card {
    padding: 12px 6px;
  }
  .library-card h2 {
    font-size: 0.88rem;
  }
  .timeline-item {
    padding-left: 11px;
  }
  .timeline-card {
    padding: 8px 6px;
  }
  .bundle li,
  .row-meta {
    font-size: 0.7rem;
  }
  .journal-lines {
    width: calc(100% - 33px);
  }
  .desk-art {
    max-width: 15%;
  }
}
@media (max-height: 530px) {
  .sidebar {
    overflow-y: auto;
  }
  .rail-art {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
html[data-motion="reduce"],
html[data-motion="reduce"] * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* The profile uses the shared studio layout. These styles are specific to freelance work. */
.brand {
  gap: 9px;
}
.brand strong {
  font-size: clamp(1.28rem, 1.82vw, 1.86rem);
  letter-spacing: -0.058em;
}
.brand-dot {
  color: #f5c7e5;
}
.brand-mark {
  width: 32px;
  height: 39px;
  stroke-width: 2;
}
.rail-top {
  padding-inline: clamp(15px, 1.8vw, 28px);
}
.main-nav {
  gap: 4px;
}
.account-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 100px;
  background: #f1edf9;
  color: #5d5084;
  font-weight: 650;
  font-size: 0.82rem;
  white-space: nowrap;
}
.account-chip:hover {
  background: #e8e0f5;
}
.work-thumb {
  display: inline-flex;
  flex: 0 0 clamp(72px, 8.2vw, 106px);
  align-self: center;
  aspect-ratio: 1.6;
  overflow: hidden;
  border-radius: 9px;
  border: 1px solid #ffffffa8;
  box-shadow: 0 2px 5px #3a31501c;
  background: var(--iconbg);
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rate-list {
  margin: 13px 0 8px;
  display: grid;
  gap: 5px;
}
.rate-list :is(button,a) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f7f5fb;
  text-align: left;
  font-size: 0.89rem;
}
.rate-list :is(button,a):hover {
  background: #efebf8;
}
.rate-list strong {
  color: #61538f;
  font-weight: 690;
}
.small-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-size: 0.83rem;
  font-weight: 620;
  padding: 3px 0;
  line-height: 1.35;
}
.small-link:hover,
.profile-facts a:hover {
  text-decoration: underline;
}
.bundle-content ul {
  gap: 6px;
}
.section-page > .section-lead:not(:first-child) {
  margin-top: 6px;
}
.section-page,
.dialog {
  overflow-wrap: anywhere;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}
.work-card {
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: white;
  transition:
    box-shadow 0.18s,
    transform 0.18s;
}
.work-card:hover {
  box-shadow: 0 7px 17px #51448317;
  transform: translateY(-2px);
}
.work-card :is(button,a) {
  display: block;
  text-align: left;
  width: 100%;
  height: 100%;
  padding: 0;
}
.work-card :is(button,a):focus-visible {
  outline-offset: -4px;
  border-radius: 15px;
}
.work-card img,
.feature-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #eee9f6;
}
.feature-cover {
  border-radius: 13px;
}
.template-card img,
.feature-cover[src*="course-launch"],
.feature-cover[src*="freelancer-portfolio"],
.feature-cover[src*="services-enquiry"] {
  aspect-ratio: 8/5;
}
.work-content {
  display: grid;
  gap: 7px;
  padding: 16px;
}
.work-content > small,
.eyeline,
.article-info small {
  color: #6a598e;
  font-weight: 630;
}
.work-content > strong {
  font-size: 1.13rem;
  line-height: 1.25;
}
.work-content > span {
  display: block;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 620;
}
.template-meta {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.template-meta b {
  color: var(--ink);
  font-weight: 700;
}
.template-meta s {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 480;
}
.eyeline {
  font-size: 0.88rem;
  margin: 13px 0 8px;
}
.body-copy,
.article-body p,
.offer-card p,
.empty-record p,
.quiet-note,
.account-gate p {
  color: #5a526a;
  line-height: 1.6;
}
.check-list {
  list-style: none;
  margin: 17px 0 22px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
}
.check-list li svg {
  color: #77659b;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
}
.check-list li b {
  margin-left: auto;
  white-space: nowrap;
}
.two-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.offer-card {
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: 17px;
  border: 1px solid var(--iconbg);
  background: linear-gradient(150deg, var(--tint2), #fff);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.offer-card h2 {
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  margin: 12px 0 7px;
}
.offer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.offer-heading .product-icon {
  width: 49px;
  height: 49px;
}
.offer-heading .product-icon svg {
  width: 25px;
  height: 25px;
}
.big-price {
  font-size: 1.95rem;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.offer-card .check-list {
  width: 100%;
}
.offer-card > .pill {
  margin-top: auto;
}
.footnote,
.file-note {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.55;
}
.section-page > .footnote {
  margin-top: 18px;
}
.promo-code {
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  font-weight: 750;
  color: #66517e;
  padding: 5px 9px;
  background: #f2ebfa;
  border-radius: 7px;
}
.discount-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.discount-line:first-of-type {
  margin-top: 9px;
}
.discount-line > div {
  display: grid;
  gap: 3px;
}
.discount-line s,
.template-meta s {
  color: #777181;
  font-weight: 470;
}
.discount-line b {
  margin-left: 3px;
}
.notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0edf8;
  border-radius: 10px;
  padding: 10px 12px;
  color: #524674;
  font-size: 0.93rem;
  margin: 0 0 18px;
}
.filter-set,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-set {
  margin-bottom: 22px;
}
.filter-set button {
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--line);
  font-size: 0.9rem;
}
.filter-set button.chosen {
  color: #463871;
  background: #ece5f7;
  border-color: #ddd1ef;
}
.article-listing,
.purchase-list {
  display: grid;
  gap: 11px;
}
.article-tile {
  padding: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  text-align: left;
  background: #faf8fd;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.article-tile:hover {
  background: #f5f0fb;
}
.article-info h2 {
  font-size: 1.14rem;
  margin: 4px 0;
}
.article-info p {
  line-height: 1.5;
  color: var(--muted);
  max-width: 72ch;
}
.article-tile > span {
  color: var(--purple);
  font-weight: 620;
  font-size: 0.84rem;
  flex-shrink: 0;
}
.article-body section {
  margin-top: 18px;
}
.article-body h3 {
  margin-bottom: 5px;
}
.file-note,
.with-icon {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.file-note {
  display: flex;
  margin-bottom: 17px;
}
.receipt {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.checkout-product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.checkout-product img {
  border-radius: 8px;
}
.checkout-product > span,
.list-symbol + span,
.purchase-row > div,
.brief-row summary > span:nth-child(2) {
  display: grid;
  gap: 3px;
}
.checkout-product small,
.purchase-row p,
.brief-row small {
  color: var(--muted);
}
.form-label,
.brief-form label {
  font-size: 0.94rem;
  font-weight: 620;
}
.code-field {
  display: flex;
  gap: 7px;
  margin-top: 5px;
}
.code-field input,
.brief-form input,
.brief-form textarea,
.brief-form select,
.search-input input {
  min-width: 0;
  width: 100%;
  font: inherit;
  color: var(--ink);
  font-weight: 450;
  line-height: 1.45;
}
.code-field input,
.brief-form input,
.brief-form textarea,
.brief-form select {
  border: 1px solid #d8d2e3;
  background: #fff;
  border-radius: 9px;
  padding: 10px 12px;
  min-height: 43px;
}
.brief-form textarea {
  resize: vertical;
}
.brief-form select {
  appearance: none;
  padding-right: 34px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23645ba3' stroke-width='1.8'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")
    right 12px center/16px no-repeat;
}
.code-field .pill {
  flex-shrink: 0;
}
.total-list {
  padding: 15px 0;
}
.total-list > div {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  color: var(--muted);
}
.total-list > div:last-child {
  border-top: 1px solid var(--line);
}
.back-text {
  display: block;
  margin: 12px auto 0;
  font-size: 0.9rem;
  color: var(--purple);
}
.form-error {
  color: #963650;
  font-size: 0.94rem;
  margin: 8px 0;
}
.account-gate,
.empty-record {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: clamp(16px, 4vw, 50px);
}
.account-gate p,
.empty-record p {
  max-width: 51ch;
}
.empty-symbol,
.list-symbol {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  background: #eee8f8;
  color: #6b5a93;
}
.account-gate > .pill,
.empty-record > .pill {
  margin-top: 4px;
}
.empty-record {
  margin-top: 15px;
  background: #faf8fd;
  border-radius: 14px;
}
.empty-record > svg {
  color: var(--purple);
  width: 30px;
  height: 30px;
}
.step-tabs {
  list-style: none;
  margin: 0 0 23px;
  padding: 0;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.step-tabs li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  color: var(--muted);
  border-radius: 99px;
  font-size: 0.9rem;
}
.step-tabs span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  background: #efeaf7;
  color: #655286;
  font-size: 0.78rem;
  font-weight: 700;
}
.step-tabs .active {
  background: #ede8f6;
  color: #463771;
  font-weight: 650;
}
.step-tabs .active span,
.step-tabs .done span {
  background: #6e60a0;
  color: white;
}
.brief-form {
  display: grid;
  gap: 18px;
  max-width: 790px;
}
.brief-form h2 {
  margin-bottom: 2px;
}
.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.brief-form label {
  display: grid;
  align-content: start;
  gap: 6px;
}
.estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  background: #f6f3fb;
  border-radius: 10px;
}
.estimate > span {
  display: grid;
  gap: 2px;
}
.estimate small {
  color: var(--purple);
  font-weight: 580;
}
.estimate strong {
  font-size: 1.18rem;
  white-space: nowrap;
}
.review-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 18px;
  margin: 0;
}
.review-list dt {
  color: var(--muted);
}
.review-list dd {
  margin: 0;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.client-stats > div,
.client-stats > button {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  background: #f5f1fa;
  text-align: left;
  padding: 15px;
}
.client-stats > button {
  background: #f7eff6;
}
.client-stats svg {
  color: var(--purple);
}
.client-stats span {
  display: grid;
  gap: 1px;
  color: #635c73;
  font-size: 0.9rem;
}
.client-stats strong {
  font-size: 1.55rem;
  line-height: 1.2;
}
.subhead {
  margin: 22px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.brief-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 8px 0;
}
.brief-row summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
}
.brief-row summary:after {
  content: "+";
  color: var(--purple);
  font-weight: 700;
}
.brief-row[open] summary:after {
  content: "−";
}
.brief-row summary b {
  margin-left: auto;
  white-space: nowrap;
}
.brief-row .list-symbol {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.list-symbol svg {
  width: 17px;
}
.brief-detail {
  padding: 12px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.brief-detail p {
  margin: 4px 0 8px;
}
.quiet-note {
  font-size: 0.94rem;
}
.owner-inbox {
  margin-top: 23px;
}
.owner-inbox > h3 {
  margin-bottom: 10px;
}
.client-directory > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}
.client-directory > div > span:first-child {
  display: grid;
}
.client-directory small,
.client-directory > div > span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}
.purchase-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px;
}
.purchase-row > img {
  width: 105px;
  height: auto;
  border-radius: 8px;
}
.purchase-row .pill {
  margin-left: auto;
  flex-shrink: 0;
}
.purchase-row summary {
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--purple);
}
.purchase-row small {
  word-break: break-all;
}
.search-input {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--purple);
}
.search-input input {
  border: 0;
  background: white;
  outline: none;
}
.search-input:focus-within {
  outline: 2px solid #a08dc7;
}
.search-results {
  display: grid;
  margin: 12px 0;
  max-height: 55svh;
  overflow: auto;
}
.search-results > :is(button,a) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: left;
}
.search-results > :is(button,a):hover {
  background: #f6f3fb;
}
.search-results > :is(button,a) > span {
  display: grid;
  gap: 2px;
}
.search-results small,
.search-results svg {
  color: var(--muted);
}
:is(textarea, select):focus-visible {
  outline: 3px solid #966dcc;
  outline-offset: 2px;
}
@media (min-width: 1001px) {
  .role {
    padding-right: 25px;
  }
  .profile-card {
    min-height: 246px;
  }
}
@media (max-width: 1000px) {
  .brand-mark {
    width: 27px;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-thumb {
    flex-basis: 66px;
  }
  .offer-card {
    padding: 18px;
  }
  .header-actions {
    gap: 6px;
  }
  .profile-facts {
    max-width: 90%;
  }
}
@media (min-width: 641px) and (max-width: 790px) {
  .brand {
    gap: 5px;
  }
  .brand strong {
    font-size: 1.26rem;
  }
  .work-thumb {
    flex-basis: 43px;
    border-radius: 6px;
  }
  .account-chip {
    padding: 7px;
  }
  .account-chip span {
    display: none;
  }
  .rate-list :is(button,a) {
    font-size: 0.8rem;
    padding: 7px 6px;
  }
  .profile-facts {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .brand-mark {
    width: 28px;
    height: 30px;
  }
  .brand-dot {
    display: inline !important;
  }
  .rail-top {
    padding-inline: 0;
  }
  .drawer-open .rail-top .brand strong {
    font-size: 1.45rem;
  }
  .header-actions {
    gap: 3px;
  }
  .account-chip {
    width: 30px;
    height: 31px;
    padding: 0;
  }
  .account-chip span {
    display: none;
  }
  .profile-body {
    flex: 1;
  }
  .profile-facts {
    max-width: none;
  }
  .profile-card {
    align-items: flex-start;
  }
  .portrait-wrap {
    margin-top: 4px;
  }
  .profile-body h2 {
    padding-right: 13px;
  }
  .profile-facts a {
    overflow-wrap: anywhere;
  }
  .role {
    font-size: 0.82rem;
  }
  .work-thumb {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 42px;
    height: 28px;
    border-radius: 4px;
  }
  .rate-list {
    gap: 3px;
    margin: 8px 0;
  }
  .rate-list :is(button,a) {
    flex-wrap: wrap;
    font-size: 0.75rem;
    gap: 1px 5px;
    padding: 5px;
  }
  .small-link {
    font-size: 0.72rem;
    gap: 4px;
    text-align: left;
  }
  .small-link svg {
    width: 11px;
  }
  .bundle-content li {
    hyphens: auto;
  }
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .work-card,
  .work-card :is(button,a):focus-visible {
    border-radius: 11px;
  }
  .work-content {
    padding: 11px;
    gap: 5px;
  }
  .work-content > strong {
    font-size: 0.99rem;
  }
  .work-content > span {
    font-size: 0.83rem;
  }
  .work-content small {
    font-size: 0.78rem;
  }
  .template-meta {
    flex-wrap: wrap;
  }
  .two-grid {
    grid-template-columns: 1fr;
  }
  .article-tile {
    padding: 13px;
    display: grid;
    gap: 6px;
  }
  .client-stats {
    grid-template-columns: 1fr 1fr;
  }
  .client-stats > div,
  .client-stats > button {
    padding: 11px;
    gap: 6px;
  }
  .client-stats svg {
    width: 17px;
  }
  .client-stats span {
    font-size: 0.8rem;
  }
  .form-pair {
    grid-template-columns: 1fr;
  }
  .step-tabs {
    gap: 2px;
  }
  .step-tabs li {
    padding: 5px;
    gap: 4px;
    font-size: 0.8rem;
  }
  .brief-form {
    gap: 14px;
  }
  .step-tabs span {
    width: 19px;
    height: 19px;
  }
  .review-list {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .review-list dd {
    margin-bottom: 6px;
  }
  .checkout-product img {
    width: 85px;
    height: auto;
  }
  .purchase-row {
    gap: 9px;
    flex-wrap: wrap;
  }
  .purchase-row > img {
    width: 61px;
  }
  .purchase-row .pill {
    margin-left: 0;
  }
  .client-directory > div {
    display: grid;
    gap: 3px;
  }
  .brief-row summary {
    gap: 7px;
  }
  .big-price {
    font-size: 1.6rem;
  }
  .account-gate,
  .empty-record {
    padding: 20px 7px;
  }
  .search-results > :is(button,a) {
    padding: 10px 4px;
  }
}
@media (max-width: 475px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
  .profile-facts {
    font-size: 0.76rem;
  }
  .profile-links {
    flex-wrap: wrap;
  }
  .work-card img {
    aspect-ratio: 1.94;
  }
  .template-card img {
    aspect-ratio: 1.72;
  }
  .rate-list :is(button,a) span {
    max-width: 100%;
  }
}
@media (max-width: 355px) {
  .middle-grid {
    grid-template-columns: 1fr;
  }
  .right-stack {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .role {
    font-size: 0.76rem;
  }
  .header-actions {
    gap: 2px;
  }
  .lang-toggle {
    padding: 2px;
  }
  .account-chip {
    width: 26px;
  }
}
@media (max-height: 590px) {
  .sidebar {
    overflow-y: auto;
  }
  .rail-art {
    min-height: 0;
  }
  .main-nav {
    padding-bottom: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* The same palette and five-step surface appear in the public studio and its WordPress edition. */
.dialog-onboarding {
  --q-bg:#101116; --q-glow:#30243f; --q-ink:#faf9ff; --q-muted:#acaaba;
  --q-line:#33323c; --q-field:#090a0e; --q-choice:#ffffff02; --q-chip:#24232b;
  --q-accent:#bcf84a; --q-highlight:#bcf84a; --q-on:#152007;
  box-sizing:border-box; font:inherit; position:fixed; margin:auto; padding:clamp(26px,4.1vw,46px);
  width:min(614px,calc(100% - 28px)); max-height:calc(100dvh - 32px);
  border:1px solid var(--q-line); border-radius:25px; overflow:auto; overscroll-behavior:contain;
  background:radial-gradient(ellipse at 100% 0,var(--q-glow),transparent 39%),var(--q-bg);
  color:var(--q-ink); box-shadow:0 30px 105px #03030865;
}
.dialog-onboarding::backdrop {background:#07070d99;backdrop-filter:blur(5px)}
.dialog-onboarding .dialog-head {display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;gap:8px}
.dialog-onboarding .dialog-head h2 {color:var(--q-highlight);font-family:inherit;font-weight:730;font-size:.69rem;line-height:1.35;letter-spacing:.24em;text-transform:uppercase;margin:0}
.dialog-onboarding .dialog-head button {display:grid;place-items:center;border:1px solid var(--q-line);border-radius:50%;width:32px;height:32px;min-width:32px;padding:0;background:transparent;color:var(--q-muted)}
.dialog-onboarding .dialog-head button:hover {color:var(--q-ink);background:var(--q-chip)}
.enquiry-track {display:flex;gap:6px;margin:0 0 clamp(23px,3vw,34px)}
.enquiry-track i {position:relative;display:block;flex:1;height:4px;border-radius:6px;overflow:hidden;background:var(--q-chip)}
.enquiry-track i:after {content:"";position:absolute;inset:0;background:var(--q-accent);transform:scaleX(0);transform-origin:left;transition:transform .18s}
.enquiry-track i.filled:after {transform:scaleX(1)} .enquiry-track i.current:after {transform:scaleX(.36)}
.enquiry-stage {min-height:185px;animation:question-enter .18s ease both}
.enquiry-stage h2,.enquiry-done h2 {font-family:inherit;color:var(--q-ink);font-weight:680;letter-spacing:-.045em;line-height:1.13;font-size:clamp(1.55rem,3.2vw,2.22rem);margin:0 0 23px}
.enquiry-stage h2:focus,.enquiry-done h2:focus {outline:none}
.enquiry-choices {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.enquiry-choices button {text-align:left;min-height:52px;background:var(--q-choice);color:var(--q-ink);border:1px solid var(--q-line);border-radius:15px;padding:12px 16px;font-family:inherit;font-size:.91rem;font-weight:580;line-height:1.3;transition:background .15s,border-color .15s}
.enquiry-choices button:hover,.enquiry-choices button.chosen,.enquiry-choices button:focus-visible {border-color:var(--q-highlight);background:color-mix(in srgb,var(--q-accent) 11%,var(--q-bg))}
.enquiry-back,.enquiry-restart {display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:.83rem;line-height:1.4;color:var(--q-muted);background:none;border:0;padding:9px 0;margin:13px 0 0}
.enquiry-back:hover,.enquiry-restart:hover {color:var(--q-highlight)}
.enquiry-contact {display:grid;gap:10px}
.enquiry-tags {display:flex;flex-wrap:wrap;gap:6px;margin:-7px 0 8px}
.enquiry-tags button {background:var(--q-chip);color:var(--q-ink);font:inherit;font-size:.78rem;line-height:1.3;border:0;padding:5px 9px;border-radius:50px}
.enquiry-input {display:block}
.enquiry-input input {width:100%;box-sizing:border-box;min-height:46px;border-radius:16px;border:1px solid var(--q-line);background:var(--q-field);color:var(--q-ink);padding:10px 15px;font:inherit}
.enquiry-input input::placeholder {color:var(--q-muted);opacity:1}
.enquiry-send {width:100%;min-height:46px;border:0;border-radius:100px;display:flex;gap:7px;align-items:center;justify-content:center;background:var(--q-accent);color:var(--q-on);font:inherit;font-weight:730;padding:9px 15px}
.enquiry-send:hover {filter:brightness(.95)}
.enquiry-estimate {color:var(--q-muted);font-size:.82rem}
.enquiry-done {text-align:center;min-height:185px;display:flex;flex-direction:column;align-items:center;justify-content:center;animation:question-enter .18s ease}
.enquiry-done h2 {margin:13px 0 7px}.enquiry-done p,.enquiry-done p strong {color:var(--q-muted);font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}
.enquiry-tick {border-radius:50%;width:58px;height:58px;display:grid;place-items:center;background:var(--q-accent);color:var(--q-on);font-size:27px}
.enquiry-restart {color:var(--q-highlight);text-decoration:underline;text-underline-offset:3px}
.enquiry-error {color:#ffb6bf;line-height:1.4}
.dialog-onboarding :is(input,button):focus-visible {outline:2px solid var(--q-highlight);outline-offset:3px}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes question-enter {from {opacity:.3;transform:translateY(4px)} to {opacity:1;transform:translateY(0)}}
@media(max-width:450px){.dialog-onboarding{padding:23px 20px;border-radius:20px}.enquiry-stage{min-height:175px}.enquiry-choices button{padding:10px;min-height:48px}.enquiry-track{gap:4px}}
@media(prefers-reduced-motion:reduce){.enquiry-stage,.enquiry-done,.dialog-onboarding[open]{animation:none}.enquiry-track i:after{transition:none}}


:root {--lime:#bcf84a;--rail-base:#101116}
.sidebar {background:radial-gradient(ellipse at 95% 4%,#332641,transparent 44%),var(--rail-base);border-inline-end:1px solid #292830}
.brand-mark,.brand-dot {color:var(--lime)} .brand small {color:#c3bdcf}
.main-nav a {color:#eae7ef;border:1px solid transparent}
.main-nav a:hover {background:#23212a;border-color:#39343e}
.main-nav a.active,.main-nav a.active:hover {color:#18210c;background:var(--lime);box-shadow:none}
.main-nav a.active .nav-count {background:#a6da47;color:#172008}
.main-nav .nav-count {background:#ffffff16;color:#e5deee}
.rail-art {background:linear-gradient(170deg,transparent,#241d2f)}
.rail-art:before {opacity:.17;mix-blend-mode:luminosity}
.rail-art img {filter:grayscale(.45);opacity:.62;mix-blend-mode:luminosity;mask-image:linear-gradient(to bottom,transparent 2%,#000 45%)}
.hire-chip,.account-chip {display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-height:36px;border:1px solid transparent;border-radius:90px;padding:7px 12px;white-space:nowrap;font-size:.82rem;font-weight:690;line-height:1.15}
.hire-chip,.bundle-button {background:var(--lime);color:#18210c}.hire-chip:hover,.bundle-button:hover {background:#aee641}
.account-chip {color:var(--ink);background:transparent;border-color:var(--line)}.account-chip:hover {background:var(--bg)}.account-chip span {display:inline}
.bundle {background:radial-gradient(ellipse at 100% 0,#3b2c4c,transparent 65%),#202029}
.bundle li svg {color:var(--lime)}
.theme-switch {width:34px;height:34px;border:1px solid var(--line);border-radius:50%;color:var(--ink)}
.header-actions {gap:clamp(4px,.7vw,12px)}
.account-actions {display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:15px}
.account-actions .pill,.menu-settings .pill {gap:7px}
.dialog-buyer {width:min(615px,calc(100% - 24px))}
.dialog-buyer .section-page {padding:0;box-shadow:none;animation:none}
.menu-checks {display:grid;margin-bottom:20px}
.menu-checks label {display:flex;align-items:center;justify-content:space-between;padding:10px 0;gap:15px;border-bottom:1px solid var(--line);cursor:pointer}
.menu-checks input {appearance:none;position:relative;width:40px;height:23px;border:1px solid #777384;background:#8b8795;border-radius:20px;margin:0;cursor:pointer}
.menu-checks input:before {content:"";position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:white}
.menu-checks input:checked {background:#bcf84a;border-color:#58731d}
.menu-checks input:checked:before {transform:translateX(16px);background:#283511}
:root[data-studio-theme=dark] {color-scheme:dark;--ink:#f3f0f8;--muted:#b8b2c4;--purple:#c4abdF;--surface:#17171e;--bg:#0d0d13;--line:#37353f}
:root[data-studio-theme=dark] .main {background:linear-gradient(135deg,#101015,#111117 70%,#18131d)}
:root[data-studio-theme=dark] .panel {box-shadow:0 0 0 1px #ffffff0b}
:root[data-studio-theme=dark] :is(.profile-facts,.body-copy,.article-body p,.work-content>small,.article-info small,.offer-card p,.empty-record p,.account-gate p,.footnote,.file-note,.row-desc,.row-meta,.quiet-note,.lang-toggle,.check-list,.receipt,.checkout-product small,.brief-detail,.purchase-row p,.enquiry-estimate) {color:var(--muted)}
:root[data-studio-theme=dark] :is(.role,.search-results small,.journal-chevron,.rate-list strong,.profile-facts svg,.back-text,.category,.eyeline,.includes,.file-note svg) {color:var(--purple)}
:root[data-studio-theme=dark] :is(.dialog:not(.dialog-onboarding),.work-card,.code-field input,.search-input input,.search-results button) {background:var(--surface);color:var(--ink);border-color:var(--line)}
:root[data-studio-theme=dark] :is(.article-tile,.rate-list :is(button,a),.checkout-product,.account-gate,.empty-record,.client-stats>div,.client-stats>button,.search-launch,.search-input,.notice,.soft,.subtle,.bookmark,.search-results button:hover,.client-directory>div,.brief-row,.filter-set button.chosen,.journal-row:hover,.promo-code,.receipt,.download) {background:#27242f;color:#e8e2f2;border-color:var(--line)}
:root[data-studio-theme=dark] .offer-card {background:linear-gradient(155deg,var(--tint),var(--surface));border-color:var(--line)}
:root[data-studio-theme=dark] :is(.periwinkle,.lilac,.blush){--tint:#252332;--tint2:#211f28;--iconbg:#3d374b;--iconend:#353040;--accent:#d8baf0;--chip:#383344;--chiptxt:#e4d8f2;--chev:#6b587d}
:root[data-studio-theme=dark] .periwinkle {--tint:#222630;--tint2:#1f222b;--chip:#273b31;--chiptxt:#a9dfbc}
:root[data-studio-theme=dark] .blush {--tint:#2d222c;--tint2:#241f27;--chip:#40303f;--chiptxt:#edcee5}
:root[data-studio-theme=dark] .desk-art {mix-blend-mode:luminosity;opacity:.58;mask-image:linear-gradient(90deg,transparent,#000 24%)}
:root[data-studio-theme=dark] :is(.timeline-dot,.journal-icon) {background:#383144;color:#e0c9f5}
:root[data-studio-theme=dark] :is(.empty-symbol,.list-symbol){color:#e3cef3;background:#3c3348}
:root[data-studio-theme=dark] .primary {background:#68568e;color:#fff}
:root[data-studio-theme=light] .dialog-onboarding {--q-bg:#fbfafc;--q-glow:#e8dff5;--q-ink:#201b2a;--q-muted:#625c69;--q-line:#d9d4df;--q-field:#fff;--q-choice:#ffffff55;--q-chip:#ece9f0;--q-highlight:#435c13}
:root[data-studio-theme=light] .enquiry-error{color:#a5243f}
@media(max-width:1060px){.search-launch{width:auto;height:34px;padding:0;background:transparent}.search-launch .placeholder{display:none}.search-disk{width:34px;height:34px}.header-actions{gap:5px}}
@media(max-width:750px){.topbar{flex-wrap:wrap;gap:7px}.header-actions{margin-left:auto}.account-chip,.hire-chip{padding:6px 8px;min-height:32px;width:auto;height:auto}.account-chip span{display:inline}}
@media(max-width:640px){.topbar{display:grid;grid-template-columns:1fr;padding:11px 12px;gap:6px}.header-actions{margin:0;width:100%;justify-content:flex-start;flex-wrap:wrap;gap:5px}.header-actions .bell{margin-left:auto}.account-chip,.hire-chip{font-size:.73rem}.theme-switch{width:30px;height:30px}.dialog{max-height:calc(100dvh - 22px)}}
@media(max-width:395px){.header-actions{gap:3px}.hire-chip svg,.account-chip svg{display:none}.search-disk,.theme-switch{width:27px;height:27px}.header-actions .bell{margin-left:0}.account-chip,.hire-chip{padding:5px 7px}}
