:root {
  color-scheme: dark;
  --bg: #090a0c;
  --surface: #101216;
  --surface-2: #161a20;
  --surface-3: #1f252d;
  --text: #f5f7fb;
  --muted: #a8b0bd;
  --line: #2a313b;
  --accent: #54d6ff;
  --accent-2: #a7f36e;
  --accent-3: #ffcf5a;
  --danger: #ff6e87;
  --shadow: 0 24px 80px rgb(0 0 0 / 0.34);
  --page-max: 1180px;
  --page-gutter: max(18px, calc((100vw - var(--page-max)) / 2));
  --section-y: clamp(58px, 7vw, 88px);
  --panel-pad: clamp(18px, 2vw, 24px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.035), transparent 320px),
    var(--bg);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 100;
  border-radius: 8px;
  padding: 10px 12px;
  color: #041014;
  background: var(--accent);
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(84 214 255 / 0.86);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

picture {
  display: block;
  max-width: 100%;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 740px) minmax(320px, 400px);
  justify-content: start;
  align-items: center;
  gap: clamp(28px, 3vw, 40px);
  width: 100%;
  min-height: clamp(520px, 74vh, 640px);
  margin: 0 auto;
  padding: clamp(42px, 5vw, 74px) var(--page-gutter) clamp(34px, 4vw, 54px);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(9 10 12 / 0.74), rgb(9 10 12 / 0.58) 42%, rgb(9 10 12 / 0.5)),
    linear-gradient(180deg, rgb(9 10 12 / 0.36), transparent 44%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 6px 0 auto;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  align-items: stretch;
  opacity: 0.28;
  filter: saturate(0.95) brightness(0.82);
  pointer-events: none;
}

.hero-backdrop picture:nth-child(3) {
  display: block;
}

.hero-backdrop picture {
  min-height: 280px;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy,
.pitch-panel {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 640px;
  padding-bottom: 0;
}

.brand-logo {
  width: min(100%, 540px);
  height: auto;
  max-height: 92px;
  margin: 0 0 18px;
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 14px 24px rgb(0 0 0 / 0.36));
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3.4rem, 5.7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-title {
  max-width: 610px;
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 2.6vw, 2.9rem);
  line-height: 1.05;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 590px;
  margin: 10px 0 0;
  color: #dbe3ed;
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.paypal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-action {
  color: #041014;
  background: var(--accent);
  box-shadow: 0 16px 34px rgb(84 214 255 / 0.18);
}

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

.primary-action:disabled,
.secondary-action:disabled,
.paypal-button:disabled,
.small-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.secondary-action {
  color: var(--text);
  background: rgb(255 255 255 / 0.055);
  border-color: var(--line);
}

.paypal-button {
  width: 100%;
  color: #11140b;
  background: var(--accent-3);
}

.full-width {
  width: 100%;
}

.portal-header {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr auto;
  gap: 18px;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 20px var(--page-gutter);
}

.public-header {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px var(--page-gutter);
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  background: rgb(9 10 12 / 0.88);
}

.public-brand img {
  width: min(100%, 280px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 20px rgb(0 0 0 / 0.34));
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.public-nav a {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--muted);
  background: rgb(255 255 255 / 0.035);
  font-weight: 800;
}

.public-nav a.active,
.public-nav a:hover {
  color: var(--text);
  border-color: rgb(84 214 255 / 0.48);
  background: rgb(84 214 255 / 0.08);
}

.portal-brand img {
  width: min(100%, 320px);
  height: auto;
  max-height: 50px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 20px rgb(0 0 0 / 0.34));
}

.portal-nav,
.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.portal-nav {
  justify-content: center;
}

.portal-actions {
  justify-content: flex-end;
}

.portal-link {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--muted);
  background: rgb(255 255 255 / 0.035);
  font-weight: 800;
}

.portal-link.active,
.portal-link:hover {
  color: var(--text);
  border-color: rgb(84 214 255 / 0.48);
  background: rgb(84 214 255 / 0.08);
}

.portal-page.locked [data-protected-content] {
  display: none;
}

.portal-page.locked .portal-nav,
.portal-page.locked .portal-actions .user-chip {
  opacity: 0.55;
}

.pitch-panel,
.order-panel,
.checkout-panel,
.job-column,
.thread-panel,
.login-dialog {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(16 18 22 / 0.94);
  box-shadow: var(--shadow);
}

.pitch-panel {
  display: grid;
  gap: 16px;
  width: 100%;
  padding: var(--panel-pad);
}

.pitch-panel h2 {
  font-size: 1.42rem;
  line-height: 1.1;
}

.pitch-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.panel-heading,
.price-line,
.column-heading,
.jobs-toolbar,
.user-chip {
  display: flex;
  align-items: center;
}

.panel-heading {
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgb(167 243 110 / 0.54);
}

label,
legend {
  display: block;
  margin: 16px 0 7px;
  color: #dce4ec;
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d10;
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

input[type="file"] {
  padding: 10px 12px;
}

input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface-2);
  font-weight: 800;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(84 214 255 / 0.12);
}

textarea {
  resize: vertical;
}

.helper-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.field-note {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.delivery-note {
  margin: 0;
  border: 1px solid rgb(167 243 110 / 0.24);
  border-radius: 8px;
  padding: 11px 12px;
  color: #dce4ec;
  background: rgb(167 243 110 / 0.07);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.upload-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.upload-file {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgb(255 255 255 / 0.035);
}

.upload-file span:first-child {
  color: #dce4ec;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.remove-file-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border: 1px solid rgb(255 110 135 / 0.34);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--danger);
  background: rgb(255 110 135 / 0.08);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.remove-file-button:hover {
  border-color: rgb(255 110 135 / 0.7);
}

.trash-icon {
  position: relative;
  width: 13px;
  height: 14px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.trash-icon::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -5px;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.trash-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -8px;
  width: 5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(calc(100% - 36px), var(--page-max));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.proof-strip div {
  min-height: 104px;
  padding: 20px;
  background: var(--surface);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.pricing-grid,
.steps-grid,
.faq-grid,
.support-grid {
  display: grid;
  gap: 16px;
}

.pricing-grid {
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
}

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

.pricing-card,
.step-card,
.faq-item,
.policy-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 2.4vw, 24px);
  background: var(--surface);
}

.pricing-card.featured {
  border-color: rgb(84 214 255 / 0.42);
  background:
    linear-gradient(135deg, rgb(84 214 255 / 0.11), transparent 45%),
    var(--surface);
}

.pricing-card .big-price {
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
}

.pricing-card h3,
.step-card h3,
.faq-item h3,
.policy-card h2 {
  font-size: clamp(1.22rem, 1.7vw, 1.7rem);
  line-height: 1.12;
}

.pricing-card p,
.step-card p,
.faq-item p,
.policy-card p,
.policy-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-card ul,
.policy-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(84 214 255 / 0.38);
  border-radius: 999px;
  color: #041014;
  background: var(--accent);
  font-weight: 950;
}

.faq-item {
  background: #0b0d10;
}

.policy-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-band,
.app-shell {
  width: 100%;
  margin: 0 auto;
  padding: var(--section-y) var(--page-gutter);
}

.section-heading {
  display: grid;
  gap: 6px;
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.example-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.example-card > picture {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050607;
  border-bottom: 1px solid var(--line);
}

.example-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #050607;
}

.example-card div {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 15px;
}

.example-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.guides-preview {
  padding-top: 0;
}

.guide-hero-section {
  width: min(calc(100% - 36px), var(--page-max));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) 0 clamp(28px, 4vw, 42px);
}

.guide-hero-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.guide-hero-lede {
  max-width: 730px;
  margin: 16px 0 0;
  color: #dbe3ed;
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.52;
}

.guides-index {
  padding-top: 0;
}

.guide-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.guide-card {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.guide-card h2,
.guide-card h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.guide-card .secondary-action,
.guide-card .primary-action {
  width: fit-content;
  margin-top: 4px;
}

.guide-kicker {
  color: var(--accent-2) !important;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-thumb {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
  object-fit: contain;
  object-position: center;
}

.guide-card > picture {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
}

.guide-card > picture .guide-thumb,
.guide-card > picture img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.featured-guide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.featured-guide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #050607;
}

.featured-guide > picture {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #050607;
  border-right: 1px solid var(--line);
}

.featured-guide div {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(18px, 3vw, 30px);
}

.article-shell {
  width: min(calc(100% - 36px), 980px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 0 var(--section-y);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.breadcrumb a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.article-hero {
  max-width: 800px;
  padding-bottom: 24px;
}

.article-title {
  max-width: 780px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}

.article-lede {
  max-width: 720px;
  margin: 16px 0 0;
  color: #dbe3ed;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.5;
}

.article-byline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.article-feature-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
}

.article-feature-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.article-feature-image picture {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.article-summary {
  position: sticky;
  top: 18px;
  border: 1px solid rgb(84 214 255 / 0.28);
  border-radius: 8px;
  padding: 18px;
  background: rgb(84 214 255 / 0.06);
}

.article-summary h2 {
  font-size: 1.2rem;
}

.article-summary ul,
.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.article-summary strong,
.article-body strong {
  color: var(--text);
}

.article-body {
  color: #dce4ec;
}

.article-body h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.08;
}

.article-body p {
  margin: 16px 0 0;
  color: #dce4ec;
  line-height: 1.62;
}

.article-body .source-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.article-body .source-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.spec-grid div,
.article-callout,
.article-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.spec-grid div {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.spec-grid strong {
  color: var(--accent-2);
  font-size: 1.1rem;
}

.spec-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.article-callout {
  margin-top: 28px;
  padding: 18px;
  border-color: rgb(255 207 90 / 0.32);
  background: rgb(255 207 90 / 0.06);
}

.article-callout h2,
.article-cta h2 {
  margin-top: 0;
}

.article-cta {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding: clamp(20px, 3vw, 30px);
  border-color: rgb(167 243 110 / 0.3);
  background:
    linear-gradient(135deg, rgb(84 214 255 / 0.12), transparent 44%),
    rgb(16 18 22 / 0.96);
}

.article-cta p {
  margin: 0;
}

.article-cta .primary-action {
  width: fit-content;
}

.article-faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0;
  padding: 14px 16px;
  background: rgb(255 255 255 / 0.035);
}

.article-faq-item summary {
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.article-faq-item p {
  margin-bottom: 0;
}

.related-guides {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.related-guides h2 {
  margin: 0;
  font-size: 1.2rem;
}

.related-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-link-list a {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--accent);
  background: rgb(84 214 255 / 0.06);
  font-size: 0.88rem;
  font-weight: 800;
}

.related-link-list a:hover {
  border-color: rgb(84 214 255 / 0.52);
  background: rgb(84 214 255 / 0.11);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.type-grid span {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: #dce4ec;
  background: #0b0d10;
  font-weight: 750;
}

.login-order-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 36px), var(--page-max));
  margin: 0 auto clamp(58px, 7vw, 88px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgb(84 214 255 / 0.12), transparent 40%),
    var(--surface);
}

.login-order-strip div {
  max-width: 760px;
}

.login-order-strip h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.login-order-strip p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.app-shell {
  border-top: 1px solid rgb(255 255 255 / 0.07);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 20px;
  align-items: start;
}

.order-panel,
.checkout-panel,
.job-column {
  padding: var(--panel-pad);
}

#orderForm {
  display: grid;
  gap: 14px;
}

#orderForm > label {
  margin: 2px 0 -7px;
}

#orderForm > .field-note {
  margin: -7px 0 0;
}

#orderForm .payment-fieldset,
#orderForm .format-fieldset,
#orderForm .addon-fieldset {
  margin: 8px 0 0;
}

#orderForm legend {
  margin: 0;
}

.price-line {
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price-line div {
  display: grid;
  gap: 4px;
}

.price-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.price-line strong,
.big-price {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.95;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  border: 1px solid rgb(167 243 110 / 0.32);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--accent-2);
  background: rgb(167 243 110 / 0.08);
  font-size: 0.8rem;
  font-weight: 800;
}

.payment-fieldset,
.format-fieldset,
.addon-fieldset {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  border: 0;
}

.format-fieldset,
.addon-fieldset {
  margin-top: 18px;
}

.payment-option,
.format-option,
.addon-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d10;
  cursor: pointer;
}

.payment-option input,
.format-option input,
.addon-option input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.payment-option small,
.format-option small,
.addon-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.payment-option.selected,
.format-option.selected,
.addon-option.selected {
  border-color: rgb(84 214 255 / 0.52);
  background: rgb(84 214 255 / 0.08);
}

.addon-option {
  grid-template-columns: 20px minmax(0, 1fr) auto;
}

.addon-copy {
  display: grid;
  gap: 5px;
}

.addon-copy label {
  margin: 0;
}

.addon-copy p {
  margin: 0;
  color: #dce4ec;
  font-size: 0.86rem;
  line-height: 1.45;
}

.addon-price {
  align-self: center;
  min-width: 48px;
  color: var(--accent-2);
  font-weight: 900;
  text-align: right;
}

.variation-option {
  grid-template-columns: 20px minmax(0, 1fr) auto;
  cursor: default;
}

.variation-option::before {
  content: "";
  width: 20px;
}

.variation-control {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.variation-control input {
  width: 76px;
  text-align: center;
}

.order-total-panel {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid rgb(167 243 110 / 0.24);
  border-radius: 8px;
  background: rgb(167 243 110 / 0.07);
}

.order-total-panel span,
.order-total-panel small {
  color: var(--muted);
}

.order-total-panel strong {
  color: var(--text);
  font-size: 1.08rem;
}

.format-content {
  display: grid;
  gap: 5px;
}

.format-content em {
  color: #dce4ec;
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.42;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}

.platform-badge {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 7px;
  padding: 0 7px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.platform-youtube {
  background: #ff0033;
}

.platform-instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 52%, #6228d7);
}

.platform-tiktok {
  background: #111111;
  border: 1px solid #35f2ea;
  box-shadow: inset -2px 0 0 #fe2c55;
}

.platform-facebook {
  background: #1877f2;
}

.platform-linkedin {
  background: #0a66c2;
}

.platform-x {
  background: #000000;
  border: 1px solid #3f4854;
}

.platform-pinterest {
  background: #e60023;
}

.payment-option.muted {
  cursor: not-allowed;
  opacity: 0.62;
}

.checkout-panel {
  position: sticky;
  top: 24px;
}

.checkout-state {
  display: grid;
  gap: 12px;
}

.checkout-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.queue-alert {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(255 207 90 / 0.32);
  padding: 10px 18px;
  color: var(--accent-3);
  background: rgb(12 13 15 / 0.96);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.reviews-band {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--page-gutter) var(--section-y);
}

.review-scroller {
  display: grid;
  grid-auto-columns: minmax(270px, 360px);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.review-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  scroll-snap-align: start;
}

.review-card p {
  margin: 0;
  color: #dce4ec;
  line-height: 1.5;
}

.review-card span {
  align-self: end;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.star-row {
  color: var(--accent-3);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.jobs-toolbar {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.user-chip {
  min-height: 40px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: var(--surface);
}

.job-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.job-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.worker-workspace {
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.worker-auth-shell {
  display: grid;
  grid-template-columns: minmax(280px, 500px) minmax(280px, 500px);
  gap: 18px;
  align-items: start;
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: var(--section-y) 0;
}

.worker-auth-card,
.customer-profile-card,
.worker-profile-card,
.worker-message-card,
.worker-level-card,
.worker-profile-form,
.worker-inbox-form,
.worker-payout-form,
.admin-help-form,
.admin-assign-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.worker-auth-card h1,
.worker-auth-card h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.worker-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.worker-benefits article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #0b0d10;
}

.worker-benefits span,
.worker-profile-card p,
.worker-message-card p,
.worker-level-card p,
.worker-level-card li {
  color: var(--muted);
  line-height: 1.45;
}

.worker-status-grid,
.worker-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.worker-profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.worker-profile-card h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.worker-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgb(84 214 255 / 0.45);
  border-radius: 999px;
  color: #041014;
  background: var(--accent);
  font-weight: 950;
}

.worker-avatar.sprout {
  color: #15340d;
  background: var(--accent-2);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.worker-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.worker-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: #dce4ec;
  background: rgb(255 255 255 / 0.045);
  font-size: 0.78rem;
  font-weight: 850;
}

.worker-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.worker-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--surface);
  font-weight: 850;
  cursor: pointer;
}

.worker-tabs button.active {
  color: #041014;
  background: var(--accent);
  border-color: transparent;
}

.worker-panel {
  display: none;
}

.worker-panel.active {
  display: block;
}

.worker-message-card {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.worker-message-card small {
  color: var(--muted);
}

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

.moderation-grid section,
.moderation-card {
  display: grid;
  gap: 10px;
}

.moderation-grid h4 {
  margin: 0;
  color: var(--text);
}

.moderation-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #0b0d10;
}

.moderation-card p {
  margin: 4px 0;
}

.finance-dashboard {
  display: grid;
  gap: 16px;
}

.finance-period-grid,
.finance-summary-strip,
.finance-split-grid {
  display: grid;
  gap: 12px;
}

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

.finance-summary-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.finance-period-card,
.finance-summary-strip div,
.finance-chart,
.finance-split-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #0b0d10;
}

.finance-period-card h4,
.finance-chart h4,
.finance-split-grid h4 {
  margin: 0 0 10px;
}

.finance-metric-row,
.finance-source-row,
.finance-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.finance-metric-row span,
.finance-source-row span,
.finance-bar-row span,
.finance-summary-strip span {
  color: var(--muted);
}

.finance-summary-strip strong,
.finance-metric-row strong,
.finance-source-row strong,
.finance-bar-row strong {
  color: var(--text);
  font-weight: 950;
}

.finance-chart {
  display: grid;
  gap: 8px;
}

.finance-bar-row {
  grid-template-columns: minmax(82px, 110px) minmax(120px, 1fr) auto;
}

.finance-bar-track {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.08);
}

.finance-bar-track i {
  display: block;
  width: var(--bar-width);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.finance-bar-track i.negative {
  background: linear-gradient(90deg, var(--danger), #ffcf5a);
}

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

.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  background: rgb(255 255 255 / 0.045);
  font-size: 0.75rem;
  font-weight: 900;
}

.status-pill.active {
  color: #98ff69;
  border-color: rgb(152 255 105 / 0.38);
}

.status-pill.banned {
  color: var(--danger);
  border-color: rgb(255 110 135 / 0.44);
}

.worker-profile-form,
.worker-inbox-form,
.worker-payout-form,
.admin-help-form,
.admin-assign-form,
.customer-profile-form {
  display: grid;
  gap: 10px;
  margin: 0;
}

.worker-toggle-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 4px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #0b0d10;
}

.worker-toggle-option input {
  width: auto;
  margin-top: 3px;
}

.worker-toggle-option span {
  display: grid;
  gap: 4px;
}

.worker-toggle-option small {
  color: var(--muted);
  line-height: 1.4;
}

.customer-profile-card {
  margin-bottom: 20px;
}

.customer-profile-form {
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 240px) auto;
  align-items: end;
}

.customer-profile-form div {
  align-self: center;
}

.customer-profile-form label {
  margin: 0;
}

.job-list-panel {
  display: grid;
  gap: 18px;
}

.column-heading {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.column-heading span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--accent-2);
  font-weight: 900;
}

.job-list {
  display: grid;
  gap: 12px;
  min-height: 170px;
}

.job-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #0b0d10;
}

.job-card-button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.job-card-button:hover,
.job-card-button.selected {
  border-color: rgb(84 214 255 / 0.54);
  background: rgb(84 214 255 / 0.075);
}

.job-card-button.has-unread {
  border-color: rgb(255 207 90 / 0.58);
  box-shadow: inset 4px 0 0 var(--accent-3);
}

.job-card-topline,
.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.job-card-topline strong {
  color: var(--accent);
  font-size: 0.86rem;
}

.job-card-title {
  color: var(--text);
  font-weight: 900;
  line-height: 1.25;
}

.new-ping {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  color: #181006;
  background: var(--accent-3);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.job-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.job-meta a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reference-list {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgb(255 255 255 / 0.03);
}

.reference-list strong {
  font-size: 0.86rem;
}

.reference-list ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reference-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.reference-list small {
  flex: 0 0 auto;
  color: #dce4ec;
}

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

.small-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
}

.small-button:hover {
  border-color: var(--accent);
}

.small-button.danger-action {
  color: #fff1f4;
  border-color: rgb(255 110 135 / 0.45);
  background: rgb(255 110 135 / 0.12);
}

.small-button.danger-action:hover {
  border-color: var(--danger);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 170px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  padding: 18px;
}

.thread-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: var(--panel-pad);
}

.thread-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.thread-header h3 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.thread-header p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.order-summary-message,
.delivery-download,
.thread-actions,
.revision-limit {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #0b0d10;
}

.order-summary-message {
  display: grid;
  gap: 10px;
}

.order-summary-message ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.4;
}

.order-summary-message a,
.message-bubble a,
.delivery-download a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.delivery-download {
  display: grid;
  gap: 10px;
  border-color: rgb(167 243 110 / 0.28);
  background: rgb(167 243 110 / 0.065);
}

.delivery-download span {
  color: #dce4ec;
  line-height: 1.45;
}

.delivery-download .secondary-action {
  width: fit-content;
  text-decoration: none;
}

.thread-scroll-shell {
  position: relative;
  min-height: 320px;
}

.thread-messages {
  display: grid;
  align-content: start;
  gap: 12px;
  height: min(54vh, 540px);
  min-height: 320px;
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(0 0 0 / 0.24);
}

.message-bubble {
  display: grid;
  gap: 8px;
  width: min(86%, 620px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--surface-2);
}

.message-bubble.customer {
  justify-self: end;
  border-color: rgb(84 214 255 / 0.38);
  background: rgb(84 214 255 / 0.09);
}

.message-bubble.worker {
  justify-self: start;
  border-color: rgb(167 243 110 / 0.28);
  background: rgb(167 243 110 / 0.07);
}

.message-bubble.system {
  justify-self: center;
  width: min(92%, 680px);
  border-color: rgb(255 207 90 / 0.24);
  background: rgb(255 207 90 / 0.06);
}

.message-meta {
  color: var(--muted);
  font-size: 0.8rem;
}

.message-meta strong {
  color: #dce4ec;
}

.message-bubble p {
  margin: 0;
  color: #eef3f8;
  line-height: 1.45;
  white-space: pre-wrap;
}

.delivery-link {
  width: fit-content;
  font-weight: 850;
}

.jump-present {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 38px;
  border: 1px solid rgb(84 214 255 / 0.42);
  border-radius: 999px;
  padding: 0 13px;
  color: #041014;
  background: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.34);
}

.thread-actions {
  display: grid;
  gap: 14px;
}

.message-form,
.delivery-form,
.review-form,
.reference-update-form,
.refund-form,
.admin-help-form,
.admin-assign-form {
  display: grid;
  gap: 10px;
  margin: 0;
}

.message-form label,
.delivery-form label,
.review-form label,
.reference-update-form label,
.refund-form label,
.admin-help-form label,
.admin-assign-form label {
  margin: 0;
}

.message-form .primary-action,
.message-form .secondary-action,
.delivery-form .paypal-button,
.review-form .primary-action,
.reference-update-form .secondary-action,
.refund-form .danger-button,
.admin-help-form .secondary-action,
.admin-assign-form .secondary-action {
  justify-self: start;
}

.review-form,
.reference-update-form,
.revision-limit {
  border: 1px solid rgb(84 214 255 / 0.26);
  border-radius: 8px;
  padding: 14px;
  background: rgb(84 214 255 / 0.055);
}

.reference-update-form {
  border-color: rgb(167 243 110 / 0.24);
  background: rgb(167 243 110 / 0.055);
}

.revision-limit {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.revision-limit strong {
  flex: 1 0 100%;
}

.revision-limit p {
  flex: 1 0 100%;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.danger-zone {
  border: 1px solid rgb(255 110 135 / 0.28);
  border-radius: 8px;
  padding: 14px;
  background: rgb(255 110 135 / 0.065);
}

.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 148px;
  border: 1px solid rgb(255 110 135 / 0.48);
  border-radius: 8px;
  padding: 0 16px;
  color: #fff3f5;
  background: rgb(255 110 135 / 0.2);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.danger-button:hover {
  border-color: rgb(255 110 135 / 0.78);
  background: rgb(255 110 135 / 0.28);
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px var(--page-gutter);
  border-top: 1px solid rgb(255 255 255 / 0.07);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.policy-shell .article-body h2:first-child {
  margin-top: 0;
}

.login-dialog {
  width: min(92vw, 500px);
  padding: 0;
  color: var(--text);
}

.login-dialog::backdrop {
  background: rgb(0 0 0 / 0.72);
  backdrop-filter: blur(8px);
}

.dialog-close-form {
  position: absolute;
  top: 12px;
  right: 12px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.login-form {
  padding: 28px;
}

.login-form h2 {
  padding-right: 42px;
  font-size: 2rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b0d10;
}

.auth-tabs button {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button.active {
  color: #041014;
  background: var(--accent);
}

.auth-form {
  display: grid;
}

.auth-form .primary-action {
  margin-top: 18px;
}

.text-button {
  width: fit-content;
  min-height: 38px;
  margin: 10px auto 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.google-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #0b0d10;
  font-weight: 800;
  cursor: pointer;
}

.google-button:hover {
  border-color: var(--accent);
  background: rgb(255 255 255 / 0.045);
}

.google-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #11140b;
  background: #ffffff;
  font-weight: 900;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 2px;
  color: var(--muted);
  font-size: 0.84rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  background: var(--surface-3);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-section,
  .workspace-grid,
  .job-workspace,
  .portal-header,
  .public-header,
  .article-layout,
  .featured-guide,
  .worker-auth-shell,
  .worker-status-grid,
  .worker-settings-grid,
  .finance-period-grid,
  .finance-summary-strip,
  .finance-split-grid,
  .moderation-grid,
  .customer-profile-form {
    grid-template-columns: 1fr;
  }

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

  .hero-section {
    gap: 24px;
    min-height: auto;
  }

  .hero-backdrop {
    inset: 0;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    opacity: 0.18;
    filter: none;
  }

  .hero-backdrop picture:nth-child(3) {
    display: block;
  }

  .pitch-panel,
  .checkout-panel,
  .thread-panel {
    position: relative;
    top: auto;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .steps-grid,
  .faq-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .login-order-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-nav,
  .portal-actions,
  .public-nav {
    justify-content: flex-start;
  }

  .guide-hero-section {
    padding-top: 38px;
  }

  .featured-guide img {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .article-summary {
    position: relative;
    top: auto;
  }
}

@media (max-width: 720px) {
  .hero-section {
    padding-top: 42px;
  }

  .hero-backdrop {
    inset: 0;
    grid-template-columns: 1fr;
  }

  .hero-backdrop picture:nth-child(n + 2) {
    display: none;
  }

  .example-grid,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .job-columns {
    grid-template-columns: 1fr;
  }

  .worker-benefits {
    grid-template-columns: 1fr;
  }

  .worker-profile-card {
    grid-template-columns: 1fr;
  }

  .thread-header {
    display: grid;
  }

  .message-bubble,
  .message-bubble.system {
    width: 100%;
  }

  .jobs-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .guide-hero-title,
  .article-title {
    font-size: clamp(2.1rem, 10vw, 3.3rem);
    line-height: 1.03;
  }

  .user-chip {
    border-radius: 8px;
  }
}

@media (max-width: 460px) {
  .hero-actions {
    display: grid;
  }

  h1 {
    font-size: clamp(2.7rem, 18vw, 4rem);
  }

  .price-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .thread-panel,
  .job-column,
  .order-panel,
  .checkout-panel {
    padding: 16px;
  }

  .thread-messages {
    height: 420px;
  }

  .revision-limit .secondary-action {
    width: 100%;
  }
}
