/* Qorvii 8 — a little more character, a lot more possibility. */
:root {
  --accent: #6743e3;
  --soft: #eee8ff;
  --bg: #f8f7f2;
  --panel: #fffefa;
  --ink: #25232b;
  --lime: #def485;
}
body {
  -webkit-font-smoothing: antialiased;
}
body.dark {
  --accent: #b59bff;
  --soft: #342747;
  --bg: #17151e;
  --panel: #23202c;
  --ink: #f8f5ef;
  --lime: #deef98;
}
.nav {
  height: 80px;
  padding-inline: max(calc((100vw - 1300px) / 2), 32px);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(16px);
}
.logo {
  letter-spacing: -1.7px;
}
.desktop-nav {
  gap: 22px;
}
.desktop-nav a {
  font-size: 13px;
  font-weight: 550;
}
.btn {
  border-radius: 12px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px #6743e316;
}
body.dark .btn.primary {
  background: #7650e5;
  border-color: #7650e5;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px #3e255313;
}
.icon-button {
  border-radius: 12px;
}
.panel,
.order-card,
.spec-card,
.offer-card {
  border-radius: 20px;
}
.page {
  max-width: 1340px;
}
.page-head h1 {
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}
.legal h2,
.legal h3,
.definition dd {
  overflow-wrap: anywhere;
}
.footer {
  padding-inline: max(calc((100vw - 1260px) / 2), 32px);
}
.home-v8 {
  overflow: clip;
}
.home-v8 h1,
.home-v8 h2,
.home-v8 h3 {
  text-wrap: balance;
}
.home-v8 h2 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.home-v8 h2 em {
  font-style: normal;
  color: var(--accent);
}
.new-hero {
  max-width: 1324px;
  padding: 75px 32px 66px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 26px;
}
.live-dot {
  background: #7753e4;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 5px #7650e513;
}
.new-hero h1 {
  font-size: clamp(45px, 4.9vw, 70px);
  line-height: 1.045;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.new-hero h1 > span {
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.heading-star {
  font-size: 0.46em;
  display: inline-block;
  position: absolute;
  right: -0.9em;
  top: -0.25em;
  color: #886be4;
}
.hero-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 455px;
  margin-top: 26px;
}
.idea-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 18px;
  border: 1px solid #ded8e7;
  border-radius: 17px;
  background: var(--panel);
  margin-top: 28px;
  box-shadow: 0 8px 25px #35284a05;
  max-width: 530px;
}
.idea-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #8060e21a;
}
.idea-search input {
  border: 0;
  outline: 0;
  padding: 8px 0;
  width: 100%;
  min-width: 0;
  box-shadow: none;
  background: transparent;
  font-size: 14px;
}
.idea-search input:focus {
  box-shadow: none;
}
.idea-search .btn {
  padding: 13px 18px;
  gap: 22px;
  flex-shrink: 0;
}
.search-spark {
  color: var(--accent);
  font-size: 24px;
}
.quick-ideas {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 10px;
}
.quick-ideas > span {
  margin-right: 2px;
}
.quick-ideas button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 10px;
  border-radius: 30px;
  padding: 5px 9px;
}
.quick-ideas button:hover {
  background: var(--soft);
  color: var(--accent);
  border-color: var(--accent);
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 29px;
  font-size: 12px;
  font-weight: 600;
}
.hero-bottom a:first-child span {
  margin-left: 8px;
  color: var(--accent);
}
.hero-bottom a:last-child {
  color: var(--muted);
  font-weight: 400;
}
.hero-divider {
  width: 1px;
  height: 14px;
  background: var(--line);
}
.creative-stage {
  position: relative;
  height: 495px;
  min-width: 0;
  isolation: isolate;
}
.stage-label {
  position: absolute;
  right: 8px;
  top: 9px;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
}
.stage-grid {
  position: absolute;
  inset: 10px -24px 0;
  background-image: radial-gradient(#b7abd1 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse, #0008, transparent 70%);
  z-index: -3;
}
.purple-planet {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  top: 63px;
  left: 130px;
  background: radial-gradient(
    circle at 32% 28%,
    #d8c7ff 0,
    #ac86fa 20%,
    #7b4ce1 46%,
    #54239f 70%,
    #36185d 100%
  );
  box-shadow:
    inset -22px -20px 30px #31105b44,
    0 20px 60px #7d46cc22;
  z-index: -2;
  animation: planet-drift 8s ease-in-out infinite alternate;
}
.planet-ring {
  position: absolute;
  width: 470px;
  height: 235px;
  border: 1px solid #b5a2d7;
  border-radius: 50%;
  left: 51px;
  top: 80px;
  transform: rotate(-30deg);
  z-index: -1;
  opacity: 0.7;
}
.floating-window {
  position: absolute;
  background: #fffefa;
  color: #28232e;
  border: 1px solid #e6dfea;
  border-radius: 14px;
  box-shadow:
    0 18px 55px #49376f20,
    0 2px 6px #30203e08;
  overflow: hidden;
}
.site-window {
  width: 318px;
  left: 6px;
  top: 60px;
  transform: rotate(-7deg);
}
.window-bar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6dfea;
  padding: 0 13px;
  font-size: 8px;
  color: #8e8798;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8d3df;
}
.window-dots i:first-child {
  background: #dda2a0;
}
.window-dots i:nth-child(2) {
  background: #e7ce8f;
}
.window-dots i:nth-child(3) {
  background: #aabf9c;
}
.site-window-content {
  background: #efc9b7;
  position: relative;
  padding: 24px;
  height: 238px;
  overflow: hidden;
}
.site-window-content > small {
  color: #5d483f;
  font-size: 7px;
  letter-spacing: 2px;
}
.site-window-content b {
  display: block;
  font-size: 53px;
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -3px;
  margin: 14px 0;
  position: relative;
  z-index: 1;
}
.site-window-content em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.site-flower {
  position: absolute;
  font-size: 168px;
  right: -14px;
  top: 43px;
  color: #cf614f;
  line-height: 1;
  transform: rotate(10deg);
}
.site-pill {
  display: inline-block;
  font-size: 8px;
  border: 1px solid #584c4480;
  border-radius: 30px;
  padding: 5px 10px;
  letter-spacing: 0.8px;
}
.bot-window {
  width: 255px;
  right: -2px;
  top: 240px;
  transform: rotate(7deg);
  padding: 17px;
}
.bot-window-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
.bot-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #7752d7;
  color: #f0ddff;
  border-radius: 10px;
  font-size: 23px;
}
.bot-window-head b {
  font-size: 11px;
  display: block;
}
.bot-window-head small {
  display: block;
  font-size: 8px;
}
.bot-check {
  color: #72684f;
  background: #def485;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-left: auto;
  font-size: 11px;
}
.bot-message {
  background: #f0edf4;
  padding: 9px 11px;
  border-radius: 8px 8px 8px 2px;
  font-size: 10px;
  margin-right: 24px;
}
.bot-reply {
  background: #e5dcfa;
  padding: 10px 12px;
  border-radius: 8px 8px 2px 8px;
  font-size: 11px;
  margin: 8px 0 12px 27px;
  line-height: 1.5;
}
.bot-reply span {
  color: #6743e3;
}
.bot-typing {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 5px;
}
.bot-typing i {
  height: 4px;
  width: 4px;
  background: #ab99c6;
  border-radius: 50%;
  animation: type-dot 1.8s ease-in-out infinite;
}
.bot-typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.bot-typing i:nth-child(3) {
  animation-delay: 0.4s;
}
.bot-typing span {
  margin-left: auto;
  font-size: 7px;
  letter-spacing: 1px;
  color: #8e8798;
}
.idea-sticker {
  position: absolute;
  left: 12px;
  top: 365px;
  background: #def485;
  color: #2b3426;
  transform: rotate(-8deg);
  width: 160px;
  border-radius: 3px;
  padding: 16px;
  box-shadow: 0 5px 20px #34412810;
  font-size: 15px;
  line-height: 1.35;
}
.idea-sticker b {
  font-weight: 600;
}
.idea-sticker > span {
  font-size: 34px;
  position: absolute;
  right: 10px;
  bottom: 10px;
  line-height: 1;
}
.stage-star {
  position: absolute;
  z-index: 2;
  color: #7951d2;
}
.stage-star.one {
  font-size: 42px;
  right: -5px;
  top: 55px;
  transform: rotate(10deg);
}
.stage-star.two {
  font-size: 53px;
  left: 2px;
  top: 301px;
}
.stage-caption {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: -9px;
  width: 100%;
  font-size: 8px;
  letter-spacing: 0.7px;
  color: var(--muted);
}
.possibility-strip {
  max-width: 1260px;
  margin: 8px auto 0;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 45px;
}
.possibility-strip > span {
  font-size: 11px;
  color: var(--muted);
  min-width: 180px;
  line-height: 1.5;
}
.possibility-strip b {
  color: var(--ink);
  font-weight: 600;
}
.possibility-strip > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  color: var(--ink);
  font-size: 15px;
  font-weight: 550;
}
.possibility-strip i {
  font-style: normal;
  color: #ad98d3;
  font-size: 16px;
}
.home-section {
  max-width: 1324px;
  padding: 0 32px;
  margin: 94px auto;
}
.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}
.section-index {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 600;
  margin-bottom: 17px;
}
.home-section-head p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
  max-width: 560px;
}
.round-link {
  flex: 0 0 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 25px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.round-link:hover {
  transform: rotate(45deg);
  background: var(--soft);
}
.text-arrow {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}
.starter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.starter-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.starter-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 38px #48375912;
}
.starter-visual {
  height: 225px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bot .starter-visual {
  background: #ebe6f4;
}
.web .starter-visual {
  background: #dce7cf;
}
.design .starter-visual {
  background: #f3dccc;
}
.starter-copy {
  padding: 26px;
}
.starter-kind {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}
.starter-copy h3 {
  margin: 13px 0;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.starter-copy p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  min-height: 44px;
}
.starter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 19px 0 0;
  margin-top: 22px;
  color: var(--ink);
  text-align: left;
  font-size: 12px;
  font-weight: 600;
}
.starter-button span {
  font-size: 20px;
  color: var(--accent);
}
.starter-button:hover {
  color: var(--accent);
}
.section-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  margin-top: 17px;
}
.idea-bot {
  position: relative;
  width: 245px;
  height: 170px;
  transform: rotate(-5deg);
}
.bot-face {
  background: #7952d1;
  color: #f0dfff;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  font-size: 48px;
  border-radius: 23px;
  box-shadow: 0 12px 25px #50358c22;
  position: absolute;
  left: 14px;
  top: 5px;
}
.chat-line {
  position: absolute;
  right: 0;
  top: 66px;
  padding: 14px 22px;
  background: #fffefa;
  color: #42344c;
  font-size: 12px;
  border-radius: 13px 13px 13px 2px;
  box-shadow: 0 7px 20px #3620430a;
}
.chat-line.answer {
  top: 115px;
  left: 2px;
  right: auto;
  transform: rotate(8deg);
  background: #dfefab;
  border-radius: 13px 13px 2px 13px;
}
.idea-web {
  width: 245px;
  transform: rotate(6deg) translateY(26px);
  background: #fcfff6;
  border: 1px solid #c5d2b3;
  border-radius: 10px 10px 0 0;
  padding: 11px;
  box-shadow: 0 5px 25px #5d77451c;
}
.idea-web .window-dots {
  margin: 0 0 12px 2px;
}
.web-sample {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #f1c8b5;
  border-radius: 2px;
  color: #5e473c;
}
.web-sample > span {
  font-size: 24px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.8px;
  z-index: 1;
}
.web-sample em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.web-flower {
  font-style: normal;
  font-size: 85px;
  color: #c96b57;
  margin-left: -7px;
  line-height: 1;
}
.web-sample-foot {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.web-sample-foot i {
  height: 35px;
  border-radius: 2px;
  width: 33%;
  background: #e6ebdd;
}
.web-sample-foot i:nth-child(2) {
  background: #ece2ce;
}
.idea-design {
  position: relative;
  width: 245px;
  height: 180px;
  transform: rotate(-5deg);
}
.design-letter {
  display: block;
  font-size: 116px;
  font-family: Georgia, serif;
  color: #564378;
  line-height: 1.35;
  letter-spacing: -10px;
}
.design-star {
  color: #bc6b57;
  position: absolute;
  font-size: 94px;
  top: 5px;
  right: -5px;
  transform: rotate(15deg);
}
.color-swatches {
  display: flex;
  width: 180px;
  position: absolute;
  bottom: 4px;
  right: -7px;
  padding: 6px;
  gap: 5px;
  background: #fffefa;
  border-radius: 8px;
  transform: rotate(12deg);
  box-shadow: 0 8px 15px #61402c12;
}
.color-swatches i {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  background: #7251a4;
}
.color-swatches i:nth-child(2) {
  background: #ce8867;
}
.color-swatches i:nth-child(3) {
  background: #dceba1;
}
.color-swatches i:nth-child(4) {
  background: #efe7d3;
}
.idea-design small {
  position: absolute;
  font-size: 6px;
  left: 0;
  bottom: 7px;
  letter-spacing: 1.5px;
  color: #705950;
}
.new-directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 46px;
}
.new-direction {
  display: flex;
  gap: 17px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 23px 0;
  transition:
    background 0.2s,
    padding 0.2s;
}
.new-direction:nth-last-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}
.new-direction:hover {
  padding-inline: 10px;
  background: var(--soft);
}
.direction-number {
  font-size: 9px;
  color: var(--muted);
}
.direction-icon {
  background: var(--soft);
  color: var(--accent);
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  flex-shrink: 0;
  font-size: 23px;
}
.new-direction:nth-child(4n + 2) .direction-icon {
  background: #e5ebd6;
  color: #667440;
}
.new-direction:nth-child(4n + 3) .direction-icon {
  background: #f5e2d7;
  color: #996e55;
}
.new-direction h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.4px;
}
.new-direction p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.direction-arrow {
  margin-left: auto;
  font-size: 20px;
  padding-inline: 7px;
}
.open-catalog {
  display: flex;
  gap: 35px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding-block: 40px;
}
.open-catalog-icon {
  font-size: 68px;
  color: var(--accent);
}
.open-catalog h2 {
  font-size: 34px;
}
.open-catalog h2 br {
  display: none;
}
.open-catalog p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.open-catalog .btn {
  margin-left: auto;
  flex-shrink: 0;
}
.process-section {
  max-width: 1260px;
  margin: 95px auto;
  border-radius: 26px;
  background: #31214b;
  color: #fff9f2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  padding: 57px;
  position: relative;
  overflow: hidden;
}
.process-section .section-index {
  color: #bca7d1;
}
.process-section h2 {
  font-size: 43px;
}
.process-section h2 em {
  color: #d6ebb0;
}
.process-intro p {
  font-size: 13px;
  color: #c3b6cc;
  margin-top: 21px;
  line-height: 1.8;
}
.process-link {
  display: inline-block;
  margin-top: 29px;
  font-size: 11px;
  border-bottom: 1px solid #8c799e;
  padding-bottom: 6px;
}
.process-spark {
  position: absolute;
  font-size: 190px;
  color: #49345f;
  line-height: 1;
  bottom: -82px;
  left: 280px;
  transform: rotate(10deg);
  pointer-events: none;
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid #675174;
}
.process-step:first-child {
  padding-top: 6px;
}
.process-step:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.process-step > span {
  color: #d6ebb0;
  font-size: 11px;
  line-height: 2;
}
.process-step h3 {
  font-size: 19px;
  font-weight: 550;
}
.process-step p {
  font-size: 12px;
  color: #c3b6cc;
  margin-top: 10px;
  line-height: 1.75;
}
.process-step > i {
  font-size: 21px;
  font-style: normal;
  color: #ac92c6;
  margin-left: auto;
}
.clarity-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: start;
}
.clarity-section > div > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 23px;
  max-width: 340px;
}
.clarity-cards article {
  display: flex;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.clarity-cards article:first-child {
  padding-top: 0;
}
.clarity-cards article:last-child {
  border-bottom: 0;
}
.clarity-icon {
  background: var(--soft);
  color: var(--accent);
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 21px;
  flex-shrink: 0;
}
.clarity-cards h3 {
  font-size: 18px;
  font-weight: 600;
}
.clarity-cards p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
  margin-top: 9px;
}
.clarity-cards a {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  padding-top: 62px;
}
.faq-section .text-arrow {
  display: inline-block;
  margin-top: 28px;
  white-space: normal;
}
.home-faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.home-faq details:first-child {
  padding-top: 0;
}
.home-faq summary {
  list-style: none;
  font-size: 15px;
  font-weight: 550;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}
.home-faq summary::-webkit-details-marker {
  display: none;
}
.home-faq summary span {
  font-size: 21px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}
.home-faq details[open] summary span {
  transform: rotate(45deg);
}
.home-faq details p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  padding-top: 15px;
  padding-right: 24px;
}
.creator-cta {
  background: #e1edb7;
  color: #303628;
  max-width: 1260px;
  margin: 100px auto 0;
  padding: 55px;
  border-radius: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  overflow: hidden;
}
.creator-cta .section-index {
  color: #6b7356;
}
.creator-cta h2 em {
  color: #617142;
}
.creator-cta p {
  font-size: 13px;
  color: #666d56;
  max-width: 355px;
  margin: 20px 0 26px;
  line-height: 1.8;
}
.ink-btn {
  background: #303628;
  border-color: #303628;
  color: #f6f7eb;
}
.creator-art {
  display: flex;
  flex-direction: column;
  align-self: center;
  transform: rotate(-8deg) translateX(25px);
  font-size: clamp(32px, 4.3vw, 64px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -3px;
}
.creator-art > span {
  white-space: nowrap;
}
.creator-art > span:first-child {
  color: #899963;
}
.creator-art > span:nth-child(2) {
  color: #61773e;
}
.creator-art > span:last-child {
  color: #334d29;
}
.creator-star {
  color: #866cc4;
  font-size: 75px;
  position: absolute;
  right: -10px;
  top: -28px;
  line-height: 1;
}
.home-signoff {
  padding: 70px 24px 55px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 15px;
}
.home-signoff > span {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.home-signoff b {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.home-signoff em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.home-signoff a {
  font-size: 11px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
body.dark .starter-visual {
  filter: brightness(0.85);
}
body.dark .possibility-strip {
  border-color: var(--line);
}
body.dark .creative-stage {
  filter: brightness(0.91);
}
body.dark .new-direction:hover {
  background: #2a233a;
}
body.dark .creator-cta {
  background: #c9dba0;
}
.home-v8 .empty {
  grid-column: 1 / -1;
}
@keyframes planet-drift {
  to {
    transform: translate(0, 10px) rotate(7deg);
  }
}
@keyframes type-dot {
  0%,
  70%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@media (min-width: 1600px) {
  .new-hero {
    padding-top: 94px;
    padding-bottom: 85px;
  }
}
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 13px;
  }
  .desktop-nav a {
    font-size: 11px;
  }
  .nav {
    padding-inline: 24px;
    gap: 12px;
  }
  .new-hero {
    gap: 15px;
    padding-top: 58px;
  }
  .creative-stage {
    transform: scale(0.92);
    transform-origin: center;
  }
  .purple-planet {
    left: 80px;
  }
  .planet-ring {
    left: 0;
  }
  .site-window {
    left: -4px;
  }
  .bot-window {
    right: -6px;
  }
  .possibility-strip {
    margin-inline: 32px;
    gap: 20px;
  }
  .possibility-strip > div {
    font-size: 13px;
    gap: 9px;
  }
  .process-section,
  .creator-cta {
    margin-inline: 32px;
  }
  .process-section {
    padding: 42px;
    gap: 35px;
  }
  .process-section h2 {
    font-size: 36px;
  }
  .clarity-section {
    gap: 50px;
  }
  .starter-copy {
    padding: 23px;
  }
  .starter-copy h3 {
    font-size: 23px;
  }
  .open-catalog {
    gap: 22px;
  }
  .open-catalog h2 {
    font-size: 30px;
  }
  .open-catalog-icon {
    font-size: 45px;
  }
}
@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }
  .nav .menu-toggle {
    display: inline-flex;
  }
  .nav {
    height: 72px;
  }
  .new-hero {
    padding-top: 40px;
    grid-template-columns: 1fr 1fr;
  }
  .new-hero h1 {
    font-size: 46px;
  }
  .creative-stage {
    transform: scale(0.78);
    transform-origin: center right;
    width: 445px;
    justify-self: end;
    margin-left: -75px;
  }
  .hero-intro {
    font-size: 13px;
  }
  .idea-search {
    padding-left: 12px;
    gap: 7px;
  }
  .idea-search .btn {
    padding: 13px;
    gap: 8px;
  }
  .idea-search input {
    font-size: 12px;
  }
  .search-spark {
    font-size: 18px;
  }
  .hero-bottom {
    font-size: 10px;
    gap: 9px;
  }
  .possibility-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .possibility-strip > span br {
    display: none;
  }
  .home-section {
    margin-block: 68px;
  }
  .starter-grid {
    gap: 14px;
  }
  .starter-visual {
    height: 180px;
  }
  .starter-visual > div {
    transform: scale(0.8);
  }
  .starter-visual .idea-web {
    transform: scale(0.8) rotate(6deg) translateY(20px);
  }
  .starter-copy {
    padding: 18px;
  }
  .starter-copy h3 {
    font-size: 21px;
  }
  .starter-copy p {
    font-size: 11px;
  }
  .starter-kind {
    font-size: 8px;
  }
  .new-directions {
    column-gap: 27px;
  }
  .new-direction {
    gap: 11px;
  }
  .new-direction h3 {
    font-size: 15px;
  }
  .direction-number {
    display: none;
  }
  .new-direction p {
    font-size: 10px;
  }
  .process-section {
    margin-block: 65px;
    padding: 34px;
    grid-template-columns: 1fr 1.1fr;
    gap: 25px;
  }
  .process-section h2 {
    font-size: 31px;
  }
  .process-step {
    gap: 16px;
  }
  .process-step h3 {
    font-size: 16px;
  }
  .open-catalog-icon {
    display: none;
  }
  .open-catalog h2 br {
    display: block;
  }
  .open-catalog .btn {
    font-size: 12px;
  }
  .faq-section {
    gap: 40px;
  }
  .creator-cta {
    padding: 38px;
    margin-top: 70px;
  }
  .creator-art {
    font-size: 39px;
    letter-spacing: -1.6px;
  }
  .creator-star {
    font-size: 60px;
  }
}
@media (max-width: 700px) {
  .nav {
    padding-inline: 18px;
    height: 67px;
    gap: 7px;
  }
  .nav .actions {
    gap: 5px;
  }
  .nav .icon-button {
    min-width: 32px;
    width: 32px;
    height: 34px;
    padding: 4px;
  }
  .nav .logo {
    font-size: 25px;
  }
  .nav .register-link {
    display: none;
  }
  .nav .actions > .btn {
    font-size: 12px;
    padding: 8px 12px;
  }
  .new-hero {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 42px 23px 20px;
  }
  .hero-copy {
    width: 100%;
    max-width: 510px;
  }
  .hero-kicker {
    font-size: 8px;
    margin-bottom: 23px;
  }
  .new-hero h1 {
    font-size: clamp(39px, 7.4vw, 59px);
    line-height: 1.08;
  }
  .heading-star {
    right: -0.85em;
  }
  .hero-intro {
    font-size: 13px;
    margin-top: 22px;
    max-width: 370px;
  }
  .idea-search {
    margin-top: 24px;
    padding: 6px 6px 6px 12px;
  }
  .idea-search .btn {
    font-size: 12px;
    padding: 12px 15px;
  }
  .idea-search input {
    font-size: 13px;
  }
  .quick-ideas {
    font-size: 9px;
  }
  .quick-ideas button {
    font-size: 9px;
  }
  .hero-bottom {
    font-size: 11px;
    gap: 14px;
    margin-top: 24px;
  }
  .creative-stage {
    width: 435px;
    height: 440px;
    max-width: none;
    align-self: center;
    margin: -22px 0 -42px;
    transform: scale(0.84);
    transform-origin: center;
  }
  .stage-caption {
    bottom: -44px;
  }
  .stage-label {
    top: 20px;
  }
  .site-window {
    top: 60px;
    left: 0;
  }
  .bot-window {
    top: 225px;
    right: -10px;
  }
  .idea-sticker {
    top: 343px;
    left: 0;
  }
  .purple-planet {
    top: 67px;
    left: 98px;
  }
  .stage-star.two {
    top: 295px;
    left: -15px;
  }
  .possibility-strip {
    margin: 30px 23px 0;
    padding: 20px 0;
    gap: 14px;
  }
  .possibility-strip > span {
    font-size: 10px;
  }
  .possibility-strip > div {
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 11px;
  }
  .possibility-strip i {
    font-size: 12px;
    margin-inline: 2px;
  }
  .home-section {
    padding-inline: 23px;
    margin-block: 58px;
  }
  .home-v8 h2 {
    font-size: 33px;
  }
  .home-section-head {
    gap: 18px;
    margin-bottom: 25px;
    align-items: flex-end;
  }
  .home-section-head p {
    font-size: 12px;
    margin-top: 13px;
  }
  .section-index {
    font-size: 8px;
    letter-spacing: 1.35px;
    margin-bottom: 15px;
  }
  .round-link {
    flex-basis: 38px;
    height: 38px;
    font-size: 23px;
  }
  .starter-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .starter-visual {
    height: 210px;
  }
  .starter-visual > div {
    transform: scale(1);
  }
  .starter-visual .idea-web {
    transform: rotate(6deg) translateY(26px);
  }
  .starter-copy {
    padding: 24px;
  }
  .starter-copy h3 {
    font-size: 27px;
  }
  .starter-copy p {
    font-size: 13px;
    min-height: auto;
  }
  .starter-kind {
    font-size: 9px;
  }
  .starter-button {
    font-size: 13px;
    padding-top: 17px;
    margin-top: 19px;
  }
  .section-footnote {
    font-size: 9px;
  }
  .direction-section .home-section-head {
    align-items: start;
    flex-direction: column;
    gap: 17px;
  }
  .new-directions {
    grid-template-columns: 1fr;
  }
  .new-direction {
    gap: 14px;
    padding-block: 19px;
  }
  .new-direction:nth-last-child(2) {
    border-bottom: 0;
  }
  .new-direction h3 {
    font-size: 17px;
  }
  .new-direction p {
    font-size: 11px;
  }
  .direction-number {
    display: inline;
  }
  .direction-icon {
    width: 39px;
    height: 39px;
  }
  .text-arrow {
    font-size: 11px;
    white-space: normal;
  }
  .open-catalog {
    margin-inline: 23px;
    padding: 30px 0;
    align-items: start;
    flex-direction: column;
    gap: 23px;
  }
  .open-catalog .btn {
    margin-left: 0;
  }
  .open-catalog h2 {
    font-size: 30px;
  }
  .open-catalog h2 br {
    display: none;
  }
  .process-section {
    margin: 58px 14px;
    padding: 32px 26px;
    display: block;
    border-radius: 22px;
  }
  .process-section h2 {
    font-size: 34px;
  }
  .process-intro p {
    font-size: 12px;
  }
  .process-link {
    margin-top: 20px;
  }
  .process-steps {
    margin-top: 38px;
  }
  .process-step {
    gap: 20px;
    padding-block: 24px;
  }
  .process-step h3 {
    font-size: 18px;
  }
  .process-step p {
    font-size: 12px;
  }
  .process-spark {
    left: auto;
    right: -35px;
    top: 70px;
    font-size: 170px;
    opacity: 0.55;
    z-index: 0;
  }
  .process-intro,
  .process-steps {
    position: relative;
    z-index: 1;
  }
  .home-section .cards {
    grid-template-columns: 1fr;
  }
  .people-section .home-section-head {
    display: block;
  }
  .people-section .text-arrow {
    display: inline-block;
    margin-top: 19px;
  }
  .clarity-section {
    display: block;
  }
  .clarity-section > div > p {
    font-size: 13px;
    margin-top: 17px;
  }
  .clarity-cards {
    margin-top: 29px;
  }
  .clarity-cards article {
    gap: 16px;
  }
  .clarity-cards h3 {
    font-size: 17px;
  }
  .clarity-cards p {
    font-size: 12px;
  }
  .faq-section {
    display: block;
    padding-top: 39px;
    margin-inline: 23px;
    padding-inline: 0;
  }
  .faq-section h2 br {
    display: none;
  }
  .faq-section .text-arrow {
    margin-top: 20px;
  }
  .home-faq {
    margin-top: 32px;
  }
  .home-faq summary {
    font-size: 14px;
  }
  .home-faq details p {
    font-size: 12px;
  }
  .creator-cta {
    display: block;
    margin: 57px 14px 0;
    padding: 33px 26px 0;
    border-radius: 22px;
  }
  .creator-cta h2 {
    font-size: 33px;
  }
  .creator-cta p {
    font-size: 12px;
  }
  .creator-cta .btn {
    font-size: 12px;
  }
  .creator-art {
    font-size: 46px;
    margin: 54px 0 36px;
    transform: rotate(-8deg) translateX(23px);
    letter-spacing: -2px;
  }
  .creator-star {
    right: 7px;
    top: -33px;
  }
  .home-signoff {
    padding: 43px 25px;
  }
  .home-signoff b {
    font-size: 23px;
    max-width: 310px;
  }
  .home-signoff > span {
    font-size: 7px;
  }
  .footer {
    padding: 32px 23px;
  }
  /* These rules intentionally follow the legacy desktop messenger rules. */
  .messenger {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }
  .messenger.chat-open .messenger-list {
    display: none;
  }
  .messenger:not(.chat-open) .messenger-chat {
    display: none;
  }
  .messenger-pane,
  .messenger-chat,
  .chat-form {
    min-width: 0;
  }
  .chat-head {
    gap: 8px;
  }
  .chat-head-actions {
    gap: 2px;
  }
  .chat-head .sm-icon {
    width: 30px;
    min-width: 30px;
  }
  .page {
    padding-inline: 18px;
  }
  .nav-user {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 380px) {
  .new-hero {
    padding-inline: 18px;
  }
  .new-hero h1 {
    font-size: 35px;
  }
  .heading-star {
    display: none;
  }
  .hero-intro {
    font-size: 12px;
  }
  .quick-ideas {
    gap: 4px;
  }
  .quick-ideas button {
    font-size: 8px;
    padding-inline: 6px;
  }
  .hero-bottom {
    font-size: 10px;
    gap: 9px;
  }
  .creative-stage {
    transform: scale(0.69);
    margin-block: -49px -67px;
  }
  .home-v8 h2 {
    font-size: 29px;
  }
  .home-section {
    padding-inline: 18px;
  }
  .possibility-strip {
    margin-inline: 18px;
  }
  .starter-copy {
    padding: 21px;
  }
  .starter-visual {
    height: 195px;
  }
  .creator-art {
    font-size: 37px;
  }
  .creator-star {
    font-size: 53px;
  }
  .nav {
    padding-inline: 12px;
  }
  .nav .logo {
    font-size: 23px;
  }
  .nav .actions {
    gap: 2px;
  }
  .nav {
    gap: 4px;
  }
  .nav .icon-button {
    width: 28px;
    min-width: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Отдельные интерфейсы персонала: Admin Panel и Support Center ===== */
.shell-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--panel);
  font-weight: 700;
  font-size: 13px;
}
.shell-staff .shell-badge {
  background: var(--accent);
  color: #fff;
}
.shell-admin .rail,
.shell-staff .rail {
  border-right-color: var(--line);
}
.shell-admin .rail small,
.shell-staff .rail small {
  color: var(--accent);
  font-weight: 700;
}
.shell-staff .support-tabs,
.shell-staff .support-page > .page-head .crumb {
  display: none;
}
.rail a.rail-external {
  color: var(--accent);
  font-weight: 600;
}
.shell-login {
  max-width: 520px;
  margin: 40px auto;
}
.shell-login h1 {
  margin: 8px 0 4px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  align-items: start;
}
.stats.compact {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.stats.compact .stat strong {
  font-size: 20px;
}
.staff-stats {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
a.stat {
  color: inherit;
  text-decoration: none;
}
a.stat:hover {
  border-color: var(--accent);
}
.stat.alert strong {
  color: var(--danger);
}
.admin-table td,
.admin-table th {
  vertical-align: top;
  font-size: 13px;
}
.admin-table td.button-row {
  flex-wrap: wrap;
  gap: 4px;
}
.danger-text {
  color: var(--danger);
}
.chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart rect.bar {
  fill: var(--accent);
  opacity: 0.85;
}
.chart rect.bar:hover {
  opacity: 1;
}
.chart .axis {
  stroke: var(--line);
}
.chart .tick {
  fill: var(--muted);
  font-size: 11px;
}
.perm-group {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 4px 14px;
}
.perm-group legend {
  font-weight: 700;
  padding: 0 6px;
}
.perm-group small {
  color: var(--muted);
}
.check.disabled {
  opacity: 0.55;
}
.perm-list {
  columns: 2;
  font-size: 13px;
}
.promo-plan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 12px;
  margin: 0 0 12px;
}
.promo-plan legend {
  font-weight: 700;
}
.support-banner.warning-banner {
  border-color: var(--danger);
}
.staff-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  color: inherit;
  text-decoration: none;
}
.review-row p {
  margin: 4px 0;
}
.case-chat-mini {
  max-height: 420px;
  overflow: auto;
}
@media (max-width: 850px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .perm-list {
    columns: 1;
  }
  .shell-badge {
    font-size: 12px;
    padding: 4px 10px;
  }
}

.shell-admin .page-head .crumb,
.shell-staff .page-head .crumb {
  display: none;
}
.stat strong {
  display: block;
}
.stat .form-note {
  display: block;
  margin-top: 2px;
}

/* ===== Админ-панель: упрощённый интерфейс ===== */
/* Вкладки внутри раздела */
.adm-subtabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin: -8px 0 20px;
  overflow-x: auto;
}
.adm-subtabs a {
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.adm-subtabs a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
/* Меню «Действия ▾» */
.adm-menu {
  position: relative;
  display: inline-block;
}
.adm-menu > summary {
  list-style: none;
  cursor: pointer;
}
.adm-menu > summary::-webkit-details-marker {
  display: none;
}
.adm-menu-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px #1e1d2422;
  display: flex;
  flex-direction: column;
}
.adm-menu.right .adm-menu-list {
  left: auto;
  right: 0;
}
.adm-menu-list .btn {
  justify-content: flex-start;
  text-align: left;
  width: 100%;
  border: 0;
  background: none;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 500;
  min-height: 0;
}
.adm-menu-list .btn:hover {
  background: var(--soft);
}
.adm-menu-list .btn.danger {
  color: var(--danger);
}
/* Строка фильтра */
.adm-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}
.adm-filter label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.adm-filter-select {
  min-width: 220px;
}
.adm-filter-search {
  flex: 1;
  min-width: 220px;
}
.adm-filter select,
.adm-filter input {
  height: 42px;
  margin: 0;
}
.adm-filter .btn {
  height: 42px;
}
/* «Требует внимания» */
.adm-attention {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.adm-att {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--muted);
  text-decoration: none;
}
.adm-att strong {
  font-size: 26px;
  color: var(--muted);
}
.adm-att.hot {
  border-color: var(--accent);
  color: var(--ink);
}
.adm-att.hot strong {
  color: var(--accent);
}
a.adm-att[href]:hover {
  background: var(--soft);
}
.adm-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-bottom: 12px;
}
.adm-period a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.adm-period a.active {
  color: var(--accent);
  text-decoration: underline;
}
/* Компактные показатели */
.adm-kv dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  margin: 0;
}
.adm-kv dt {
  color: var(--muted);
}
.adm-kv dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
@media (max-width: 850px) {
  .adm-attention {
    grid-template-columns: repeat(2, 1fr);
  }
  .adm-filter-select,
  .adm-filter-search {
    min-width: 100%;
  }
}
.table-wrap:has(.adm-menu[open]) {
  overflow: visible;
}
.adm-kv-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Профиль заказчика */
.profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
  flex-shrink: 0;
}
.profile-id {
  flex: 1;
  min-width: 200px;
}
.profile-id h2 {
  margin: 0 0 4px;
}
.profile-id p {
  margin: 2px 0;
}
.profile-actions {
  margin-left: auto;
}
@media (max-width: 850px) {
  .profile-actions {
    margin-left: 0;
    width: 100%;
  }
}
.stats.profile-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .stats.profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* «Как это работает»: главный заголовок страницы в размере раздела */
h1.how-title {
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.03em;
}

/* V8.4 — Idea studio and editorial content */
.brief-studio{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin:34px 0 70px;padding:56px;border:1px solid var(--line,#dedbd4);border-radius:28px;background:linear-gradient(125deg,#eee8ff 0%,#f9f6ff 52%,#f1f6ec 100%);position:relative;overflow:hidden}
.brief-intro h2{font-size:clamp(30px,3.4vw,48px);line-height:1.12;letter-spacing:-1.8px;margin:22px 0}
.brief-intro h2 em,.community-rules h2 em{font-style:normal;color:#7354bb}
.brief-intro p{max-width:370px;line-height:1.7;color:#625c70}
.brief-form{background:#fff;border:1px solid #e8e1f2;border-radius:20px;padding:28px;box-shadow:0 18px 54px #5340780c}
.brief-form .form-note{margin-top:16px;font-size:12px;line-height:1.6}
.brief-form input,.brief-form select{background:#faf9fc}
.brief-orbit{display:flex;align-items:center;gap:18px;margin-top:30px;color:#7354bb}
.brief-orbit>span{font-size:84px;line-height:1}.brief-orbit small{font-size:10px;letter-spacing:2px;max-width:110px;line-height:2}
.site-announcement{display:flex;gap:24px;padding:20px 26px;background:#eee9fa;border:1px solid #dbd0f0;border-radius:16px;margin-top:22px;overflow-wrap:anywhere}
.site-announcement>span{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:#7254b2;padding-top:3px}
.site-announcement p{font-size:14px;line-height:1.6;margin-top:5px}
.editorial-banner{display:flex;align-items:center;gap:34px;padding:36px 44px;border-radius:24px;background:#24212d;color:#fff;margin:24px 0;overflow-wrap:anywhere}
.editorial-banner small{font-size:10px;letter-spacing:2px;color:#c3b0ee}.editorial-banner h2{margin:8px 0;font-size:28px}.editorial-banner p{color:#d4cedf;line-height:1.6}.banner-spark{color:#c6eca7;font-size:78px}
.community-rules details{padding:20px 0;border-bottom:1px solid var(--line,#ddd)}.community-rules summary{cursor:pointer;font-weight:600}.community-rules p{padding:16px 0;line-height:1.7;overflow-wrap:anywhere}
.content-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.content-guide article{padding:22px;background:var(--surface,#fff);border:1px solid var(--line,#ddd);border-radius:16px}.content-guide p{font-size:13px;line-height:1.6;margin-top:8px;color:var(--muted,#777)}
.content-editor{align-items:start}.content-preview{position:sticky;top:100px}.content-preview h2{margin:20px 0;font-size:26px;overflow-wrap:anywhere}.content-preview p{line-height:1.8;overflow-wrap:anywhere}
.admin-health{display:flex;align-items:center;gap:12px;padding:16px 20px;border:1px solid var(--line,#ddd);border-radius:14px;margin-bottom:24px}.admin-health small{margin-left:auto;color:var(--muted,#777);max-width:470px}.shell-identity{font-size:13px;font-weight:600;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:focus-visible{outline:3px solid #9372d5;outline-offset:4px}.starter-card,.new-direction,.spec-card{transition:transform .2s ease,box-shadow .2s ease}
@media(hover:hover){.starter-card:hover,.spec-card:hover{transform:translateY(-4px);box-shadow:0 15px 32px #35214b12}.new-direction:hover{transform:translateY(-3px)}}
.dark .brief-studio{background:linear-gradient(125deg,#30253e,#201d29 65%,#273127);border-color:#484050}
.dark .brief-form{background:#24212c;border-color:#494050}.dark .brief-form input,.dark .brief-form select{background:#19171f}.dark .brief-intro p{color:#c4bbd3}.dark .brief-intro h2 em{color:#bea3f2}.dark .site-announcement{background:#30253e;border-color:#514269}
@media(max-width:760px){.brief-studio{grid-template-columns:1fr;padding:26px 20px;gap:24px;margin-bottom:40px}.brief-orbit{display:none}.brief-form{padding:20px}.content-guide{grid-template-columns:1fr}.content-preview{position:static}.admin-health{align-items:flex-start;flex-wrap:wrap}.admin-health small{margin-left:0;flex-basis:100%}.site-announcement{flex-direction:column;gap:8px}.editorial-banner{padding:26px;gap:18px}.banner-spark{font-size:44px}.shell-identity{max-width:90px}}
@media(prefers-reduced-motion:reduce){.starter-card,.new-direction,.spec-card{transition:none;transform:none!important}}

/* Всплывающие сообщения не сжимаются до половины экрана на телефоне */
#toast {
  width: max-content;
  max-width: min(92vw, 560px);
  text-align: center;
}
/* Табличка «Материться плохо!» */
#toast.toast-warn {
  background: #fff4e5;
  color: #8a4b00;
  border: 1px solid #ffc979;
  font-weight: 600;
}
body.dark #toast.toast-warn {
  background: #3a2a12;
  color: #ffd79a;
  border-color: #7a5420;
}

/* Модерация: язык вражды */
.hate-row { border-top: 1px solid var(--line); padding: 14px 0; }
.hate-row:first-of-type { border-top: 0; }
.hate-row.hate-block { border-left: 3px solid #d64545; padding-left: 12px; }
.hate-excerpt { background: var(--bg); border-radius: 10px; padding: 10px 12px; max-height: 160px; overflow: auto; overflow-wrap: anywhere; }

/* ---------- V8.6: единый поиск ---------- */
.search-bar {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.search-bar .search-field {
  flex: 1;
  margin: 0;
}
.search-bar input[type="search"] {
  width: 100%;
  font-size: 16px;
  padding: 14px 18px;
  border-radius: 16px;
}
.search-tabs {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.search-tabs a {
  padding: 10px 16px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.search-tabs a small {
  font-weight: 500;
  margin-left: 4px;
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--soft);
  color: var(--ink);
}
.search-tabs a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.search-tabs a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .search-bar {
    flex-direction: column;
  }
}

/* ---------- V8.6: уровни исполнителей ---------- */
.pill.level-pill {
  background: #efe9fb;
  color: #4b358f;
}
.pill.level-2 {
  background: #e3dafa;
}
.pill.level-3 {
  background: #2e2350;
  color: #f3eeff;
}
body.dark .pill.level-pill {
  background: #352944;
  color: #e4dafc;
}
body.dark .pill.level-3 {
  background: #e4dafc;
  color: #2e2350;
}
.level-criteria {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}
.level-criteria li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.level-criteria li.ok {
  color: var(--good);
}
.level-criteria li small {
  color: var(--muted);
}

/* ---------- V8.6: заказчик, документы, приглашения ---------- */
.customer-chip {
  display: block;
  margin: 8px 0;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
a.customer-chip:hover {
  color: var(--accent);
}
.docs-panel .file-row b {
  font-weight: 600;
}
.invites-panel {
  border: 1px solid var(--accent);
}
.req-grid [hidden] {
  display: none !important;
}
.offer-person .level-pill {
  margin-left: 4px;
}

/* ---------- V8.7: вход по телефону / VK ID / Яндекс ID, согласие, исполнитель ---------- */
.auth-alt {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.auth-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.auth-or::before,
.auth-or::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.phone-login summary,
.seller-details summary,
.data-terms summary {
  cursor: pointer;
}
.phone-login[open] summary {
  margin-bottom: 10px;
}
.oauth-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.oauth-btn {
  justify-content: center;
  font-weight: 600;
}
.oauth-vk {
  background: #0077ff;
  border-color: #0077ff;
  color: #fff;
}
.oauth-yandex {
  background: #fc3f1d;
  border-color: #fc3f1d;
  color: #fff;
}
.oauth-vk:hover,
.oauth-yandex:hover {
  filter: brightness(0.94);
  color: #fff;
}
.choice-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px 4px;
  margin: 0;
  display: grid;
  gap: 4px;
}
.choice-group legend {
  padding: 0 6px;
  font-weight: 600;
  font-size: 14px;
}
.data-terms ul {
  margin: 6px 0 12px;
  padding-left: 20px;
}
.data-terms li {
  margin: 2px 0;
}
.seller-info {
  margin-top: 8px;
}
.seller-details {
  margin: 8px 0;
}
