/* ===== Handy — Design System ===== */

:root {
  --ink: #0b1220;
  --muted: #64748b;
  --paper: #f4f7fb;
  --white: #fff;
  --accent: #2563eb;
  --accent2: #3b82f6;
  --accent-light: #eff4ff;
  --mint: #d9f7ed;
  --mint-dark: #15803d;
  --blue: #dbeafe;
  --line: #dfe6f0;
  --red: #ef4444;
  --red-bg: #fef2f2;
  --orange: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 35, 70, 0.13);
  --shadow-sm: 0 4px 14px rgba(15, 35, 70, 0.09);
  --shadow-md: 0 10px 34px rgba(15, 35, 70, 0.09);
  --radius: 18px;
  --radius-sm: 13px;
  --radius-lg: 28px;
}

/* ===== Reset ===== */
*{ box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit }
button { cursor: pointer }
a { color: var(--accent); text-decoration: none }
img { max-width: 100%; height: auto }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* ===== Topbar ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  position: sticky;
  top: 12px;
  z-index: 50;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.brandmark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}
.nav { display: flex; gap: 32px; align-items: center }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px }
.nav a:hover { color: var(--accent) }
.actions { display: flex; gap: 10px; align-items: center }
.user-badge {
  font-size: 13px;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 12px;
}

.mobile-menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  padding: 8px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,18,32,.6);
  backdrop-filter: blur(12px);
  z-index: 200;
  padding: 80px 24px 24px;
}
.mobile-drawer.open { display: block }
.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-drawer-links a {
  display: block;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s transform, 0.25s box-shadow, 0.25s background;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px) }
.btn.ghost { background: var(--white); color: var(--ink) }
.btn.dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(11,18,32,.18) }
.btn.orange, .btn.accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(37,99,235,.24) }
.btn.outline { background: transparent; border: 2px solid var(--line); color: var(--ink) }
.btn.outline:hover { border-color: var(--accent); color: var(--accent) }
.btn.red { background: var(--red); color: #fff }
.btn.green { background: #15803d; color: #fff }
.btn.sm { padding: 9px 14px; font-size: 13px; border-radius: 11px }
.btn.block { width: 100% }
.btn:disabled { opacity: .5; pointer-events: none; transform: none }

/* ===== Hero section ===== */
.hero {
  padding: 64px 0 38px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
  min-height: 630px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.eyebrow:before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--accent);
}
h1 {
  font-size: clamp(48px, 6.3vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 24px 0 26px;
  max-width: 720px;
}
.accent { color: var(--accent); position: relative }
.lead { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 570px }

.role-switch { margin-top: 34px; display: flex; align-items: center; gap: 16px }
.switch { background: #e6ebf2; padding: 5px; border-radius: 16px; display: flex }
.switch button { border: 0; background: transparent; padding: 11px 17px; border-radius: 12px; color: var(--muted); font-weight: 700 }
.switch button.active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm) }

/* ===== Task card (hero) ===== */
.task-card {
  background: var(--white);
  border: 1px solid rgba(37,99,235,.08);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  transform: rotate(1.5deg);
  transition: .35s transform;
}
.task-card:hover { transform: rotate(0) translateY(-4px) }
.card-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px }
.card-label b { font-size: 14px }
.live { font-size: 12px; background: var(--blue); color: #174ea6; padding: 7px 11px; border-radius: 20px; font-weight: 800 }

.search {
  display: flex;
  background: #f0f4f9;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 8px 8px 8px 17px;
  align-items: center;
  gap: 11px;
  transition: .2s;
}
.search:focus-within { border-color: var(--accent); background: var(--white) }
.search input { border: 0; background: transparent; outline: 0; min-width: 0; flex: 1; font-size: 15px }
.search button { border: 0; background: var(--accent); color: #fff; border-radius: 12px; padding: 12px 14px; font-weight: 700 }

.categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px }
.cat { border: 1px solid var(--line); background: var(--white); border-radius: 16px; padding: 15px 10px; text-align: left; transition: .25s; cursor: pointer }
.cat:hover { border-color: var(--accent); background: #f4f8ff; transform: translateY(-3px) }
.cat .ico { display: block; font-size: 22px; margin-bottom: 10px }
.cat b { font-size: 12px; display: block }
.cat small { font-size: 10px; color: var(--muted) }

.proof { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px }
.city-pin { width: 40px; height: 40px; border-radius: 13px; background: var(--blue); display: grid; place-items: center; font-size: 19px }
.proof p { font-size: 12px; color: var(--muted); margin: 0 }
.proof strong { color: var(--ink) }

.orb { position: absolute; border-radius: 50%; filter: blur(1px); z-index: 0; animation: float 6s ease-in-out infinite }
.orb.one { width: 150px; height: 150px; background: var(--blue); right: -54px; top: -62px }
.orb.two { width: 90px; height: 90px; background: var(--mint); left: -42px; bottom: 40px; animation-delay: -3s }

/* ===== Trust bar ===== */
.trust { display: grid; grid-template-columns: 1.1fr repeat(3,1fr); gap: 16px; border-top: 1px solid var(--line); padding: 28px 0 80px; align-items: start }
.trust-title { font-weight: 800 }
.principle { padding-left: 16px; border-left: 2px solid var(--blue) }
.principle b { font-size: 15px; display: block; margin-bottom: 6px }
.principle span { font-size: 12px; color: var(--muted); line-height: 1.5 }

/* ===== Section (How it works) ===== */
.section { padding: 90px 0 }
.section.dark { background: var(--ink); color: #fff; border-radius: 36px 36px 0 0 }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 42px }
.section h2 { font-size: clamp(36px, 5vw, 62px); letter-spacing: -.05em; line-height: 1.05; margin: 0 }
.section-head p { max-width: 390px; color: #a8b4c7; line-height: 1.6; margin: 0 }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px }
.step { border: 1px solid #263247; border-radius: 24px; padding: 28px; min-height: 270px; position: relative; overflow: hidden; transition: .3s }
.step:hover { background: #121d30; transform: translateY(-6px) }
.num { font-size: 12px; color: #8d9bb0 }
.step h3 { font-size: 23px; margin: 60px 0 12px }
.step p { color: #9eabc0; line-height: 1.55; font-size: 14px }
.step .mini { position: absolute; right: 20px; top: 20px; width: 56px; height: 56px; border-radius: 18px; background: var(--accent); display: grid; place-items: center; font-size: 23px }
.step:nth-child(2) .mini { background: var(--mint); color: var(--ink) }
.step:nth-child(3) .mini { background: var(--blue); color: var(--ink) }

/* ===== Feed ===== */
.feed { padding: 100px 0 }
.feed-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px }
.feed-copy { position: sticky; top: 40px; align-self: start }
.feed-copy p { color: var(--muted); line-height: 1.7; margin: 20px 0 28px }

.jobs { display: grid; gap: 12px }
.job {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  transition: .25s;
  text-decoration: none;
  color: inherit;
}
.job:hover { transform: translateX(-8px); box-shadow: 0 14px 34px rgba(20,24,32,.08); border-color: transparent }
.job-ico { width: 48px; height: 48px; border-radius: 14px; background: #f0f1ec; display: grid; place-items: center; font-size: 20px }
.job h3 { font-size: 15px; margin: 0 0 6px }
.meta { font-size: 12px; color: var(--muted) }
.price { font-weight: 800; white-space: nowrap }

.safe { margin-top: 12px; background: var(--mint); border-radius: 20px; padding: 20px; display: flex; justify-content: space-between; align-items: center }
.safe span { font-size: 13px; max-width: 390px }
.safe b { font-size: 30px }

/* ===== Footer ===== */
footer { background: var(--accent); color: #fff; padding: 64px 0 30px }
.foot-main { display: flex; justify-content: space-between; align-items: center }
.foot-main h2 { font-size: clamp(36px, 5vw, 66px); letter-spacing: -.055em; margin: 0; max-width: 700px }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.35); margin-top: 60px; padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; opacity: .9 }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 120px);
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  z-index: 120;
  transition: .35s;
  font-weight: 600;
  font-size: 14px;
  max-width: 420px;
  text-align: center;
}
.toast.show { transform: translate(-50%, 0) }
.toast.error { background: var(--red) }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: .7s ease }
[data-reveal].seen { opacity: 1; transform: none }

/* ===== Auth pages ===== */
.auth-page {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: min(460px, 100%);
  box-shadow: var(--shadow);
}
.auth-card h1 {
  font-size: 32px;
  letter-spacing: -.04em;
  margin: 0 0 8px;
  line-height: 1.1;
}
.auth-card .subtitle {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 15px;
}
.auth-card .link-row {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.auth-card .link-row a { font-weight: 700 }

/* ===== Forms ===== */
.field {
  display: grid;
  gap: 7px;
  margin: 13px 0;
}
.field label {
  font-size: 13px;
  font-weight: 700;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px;
  outline: 0;
  background: var(--white);
  font-size: 15px;
  transition: .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.field textarea { resize: vertical; min-height: 100px }
.field select { cursor: pointer }
.field .hint { font-size: 12px; color: var(--muted) }
.field.error input,
.field.error select,
.field.error textarea { border-color: var(--red) }

.role-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.role-tab {
  flex: 1;
  border: 2px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
}
.role-tab.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* Code input */
.code-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 24px 0;
}
.code-inputs input {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  border: 2px solid var(--line);
  border-radius: 14px;
  outline: 0;
  transition: .2s;
}
.code-inputs input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* ===== Dashboard ===== */
.page-section {
  padding: 32px 0;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.page-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
  letter-spacing: -.04em;
}

/* ===== Order cards (dashboard) ===== */
.order-grid {
  display: grid;
  gap: 16px;
}
.order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  transition: .25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.order-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}
.order-card h3 {
  font-size: 17px;
  margin: 0;
}
.order-card .order-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.order-card .order-price {
  font-size: 20px;
  font-weight: 800;
  margin-top: 12px;
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.badge.open { background: var(--blue); color: #174ea6 }
.badge.in_progress { background: #fef3c7; color: #92400e }
.badge.done { background: var(--mint); color: var(--mint-dark) }
.badge.cancelled { background: var(--red-bg); color: var(--red) }
.badge.pending { background: #fef3c7; color: #92400e }
.badge.accepted { background: var(--mint); color: var(--mint-dark) }
.badge.rejected { background: var(--red-bg); color: var(--red) }

/* ===== Order detail ===== */
.detail-page {
  padding: 32px 0 80px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.detail-card h1 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -.03em;
}
.detail-card .detail-desc {
  color: var(--muted);
  line-height: 1.7;
  margin: 16px 0;
  white-space: pre-wrap;
}
.detail-info {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.detail-info-row {
  display: flex;
  gap: 12px;
  font-size: 14px;
}
.detail-info-row .label {
  color: var(--muted);
  min-width: 120px;
  flex-shrink: 0;
}
.detail-info-row .value {
  font-weight: 600;
}
.detail-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.detail-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: .2s;
}
.detail-images img:hover { transform: scale(1.04) }

/* ===== Proposals ===== */
.proposals-list { display: grid; gap: 12px }
.proposal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.proposal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.proposal-card h4 { margin: 0; font-size: 16px }
.proposal-card .proposal-msg {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0;
  line-height: 1.5;
}
.proposal-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* ===== Propose form ===== */
.propose-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.propose-card h3 { margin: 0 0 16px; font-size: 20px }

/* ===== Browse filters ===== */
.filters-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  align-items: end;
}
.filters-bar .field { margin: 0; min-width: 180px; flex: 1 }
.filters-bar .btn { align-self: end; height: 48px }

/* ===== Create order form ===== */
.create-page {
  padding: 32px 0 80px;
}
.create-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}
.create-card h1 {
  font-size: 32px;
  letter-spacing: -.04em;
  margin: 0 0 8px;
}
.create-card .subtitle {
  color: var(--muted);
  margin: 0 0 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.image-upload-area {
  border: 2px dashed var(--line);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  color: var(--muted);
  font-size: 14px;
}
.image-upload-area:hover, .image-upload-area.dragover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}
.image-upload-area .upload-icon { font-size: 36px; margin-bottom: 8px }
.image-previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.image-previews .preview {
  position: relative;
  width: 80px;
  height: 80px;
}
.image-previews .preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.image-previews .preview .remove-img {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 2px solid #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px }
.empty-state h3 { color: var(--ink); margin: 0 0 8px }
.empty-state p { margin: 0 0 20px }

/* ===== Skeleton loading ===== */
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 12px;
}
@keyframes shimmer { to { background-position: -200% 0 } }

/* ===== Spinner ===== */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
.spinner.dark { border-color: rgba(0,0,0,.1); border-top-color: var(--accent) }
@keyframes spin { to { transform: rotate(360deg) } }

/* ===== Animations ===== */
@keyframes float { 50% { transform: translateY(-14px) rotate(8deg) } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(15px) } }

/* ===== Responsive ===== */
@media (max-width: 850px) {
  .nav { display: none }
  .actions { display: none }
  .mobile-menu-btn { display: block }
  .hero { grid-template-columns: 1fr; padding-top: 35px; gap: 38px }
  .task-card { transform: none }
  .trust { grid-template-columns: 1fr 1fr }
  .trust-title { grid-column: 1/-1 }
  .section-head, .foot-main { align-items: start; gap: 25px; flex-direction: column }
  .steps { grid-template-columns: 1fr }
  .step { min-height: 220px }
  .feed-grid { grid-template-columns: 1fr }
  .feed-copy { position: static }
  .detail-grid { grid-template-columns: 1fr }
  .form-row { grid-template-columns: 1fr }
  .filters-bar { flex-direction: column }
  .filters-bar .field { min-width: auto }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1180px) }
  .topbar { padding: 9px 10px; top: 8px }
  .topbar .brand { font-size: 22px }
  .topbar .brandmark { width: 32px; height: 32px }
  .hero { padding-top: 28px }
  .hero h1 { font-size: 48px }
  .role-switch { align-items: stretch; flex-direction: column }
  .switch button { flex: 1 }
  .task-card { padding: 20px }
  .categories { grid-template-columns: repeat(2, 1fr) }

  .search button { font-size: 0 }
  .search button:after { content: '→'; font-size: 18px }
  .trust { padding-bottom: 55px }
  .section { padding: 65px 0 }
  .job { grid-template-columns: 42px 1fr }
  .price { grid-column: 2 }
  .safe { align-items: flex-start; gap: 14px; flex-direction: column }
  .foot-bottom { gap: 16px; flex-direction: column }
  .auth-card { padding: 24px }
  .create-card { padding: 24px }
  .code-inputs input { width: 44px; height: 52px; font-size: 20px }
}
/* Compact categories and account workspace */
[hidden]{display:none!important}.categories .cat{min-height:64px;padding:14px 16px;gap:10px;border-radius:14px;font-size:13px}.categories .ico{font-size:18px;width:30px;height:30px}.category-toggle{border:1px dashed #bccde4;background:#edf3ff;color:#2563eb;font:inherit;cursor:pointer;justify-content:center}.dashboard-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:32px;align-items:start}.profile-panel{background:var(--white);border:1px solid #e3e9f2;border-radius:24px;padding:26px;overflow-wrap:anywhere}.profile-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#e8efff;color:#2563eb;font-size:28px;font-weight:800;margin-bottom:16px}.profile-panel h2{font-size:22px;margin:0 0 10px}.profile-email{font-size:13px}.profile-note{font-size:12px;color:var(--muted);line-height:1.7}.profile-editor{margin:20px 0}.profile-editor summary{cursor:pointer;list-style:none}.profile-editor form{padding-top:20px}.profile-data dt{font-size:12px;color:var(--muted);margin-top:18px}.profile-data dd{margin:6px 0;font-size:14px;white-space:pre-wrap}.profile-link{display:block;color:#2563eb;font-size:13px;margin-top:18px}.profile-panel>.btn{margin-top:20px}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:800;color:var(--muted)}.dashboard-main .page-header h1{font-size:32px}.overview-card{padding:24px;border-radius:20px;background:#0b1220;color:white;margin-bottom:24px}.overview-card strong{display:block;font-size:38px;margin:8px 0}.overview-card p{color:#b8c9e0;font-size:13px}.form-feedback{color:#b42318;font-size:13px}.admin-tabs{display:flex;gap:8px;margin:20px 0;flex-wrap:wrap}.admin-tabs a{padding:12px 18px;background:var(--white);border-radius:12px;color:var(--muted);text-decoration:none}.admin-tabs a.selected{background:#0b1220;color:white}.admin-search{display:flex;gap:12px;margin:24px 0}.admin-search input{flex:1;min-width:0;padding:14px;border:1px solid #dbe3ed;border-radius:12px;font:inherit}.table-wrap{overflow:auto;background:var(--white);border:1px solid #e3e9f2;border-radius:18px;margin:24px 0}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th,td{padding:16px;border-bottom:1px solid #edf1f6;vertical-align:top}th{color:var(--muted);background:#f8faff}td small{display:block;color:var(--muted);margin-top:6px}td a{color:#2563eb}td pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:450px;font:inherit;margin:0}.admin-users{display:grid;gap:16px}.admin-users summary{cursor:pointer;line-height:1.8;overflow-wrap:anywhere}.admin-users form{margin-top:20px}.admin-buttons{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.order-history{padding:28px;margin-bottom:40px;border-radius:20px;background:var(--white)}.order-history p{font-size:13px;color:var(--muted)}.managed-form .field{display:block;margin-bottom:16px}.managed-form input,.managed-form textarea,.managed-form select{width:100%;margin-top:8px}.detail-images img{max-width:100%;height:auto}.admin-users .badge{margin-left:8px}@media(max-width:900px){.dashboard-layout{grid-template-columns:1fr}.profile-panel{padding:22px}.dashboard-main .page-header{gap:14px;flex-wrap:wrap}.dashboard-main .page-header h1{font-size:26px}.categories .cat{font-size:12px;padding:12px}.admin-search{flex-wrap:wrap}th,td{padding:12px}}
.categories .cat{display:flex;align-items:center;text-align:left}.categories .cat b{font-size:12px;line-height:1.5}.categories .ico{margin-bottom:0;display:grid;place-items:center;flex-shrink:0;background:#edf3ff;border-radius:9px}.categories .category-toggle{grid-column:1/-1;min-height:42px;text-align:center}.account-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.account-metrics div{padding:18px;background:var(--white);border:1px solid #e3e9f2;border-radius:16px}.account-metrics span{display:block;font-size:12px;color:var(--muted)}.account-metrics strong{display:block;font-size:28px;margin-top:8px}.admin-search select{border:1px solid #dbe3ed;background:var(--white);border-radius:12px;padding:12px;font:inherit;max-width:100%}@media(max-width:500px){.account-metrics{gap:8px}.account-metrics div{padding:12px}.account-metrics span{font-size:11px}}
.telegram-panel{margin:20px 0;padding:18px;background:#edf3ff;border:1px solid #d7e4ff;border-radius:16px}.telegram-panel p{font-size:12px;line-height:1.7;color:#475569}.telegram-panel .telegram-state{color:var(--ink)}.telegram-panel .btn{font-size:12px;white-space:normal;text-align:center;padding:12px;width:100%}.telegram-instructions{margin-top:14px}.telegram-toggle{display:flex;gap:8px;align-items:center;margin-top:16px;font-size:12px}.telegram-feedback{overflow-wrap:anywhere}.profile-editor input[readonly]{background:#f4f7fb;color:var(--muted)}
.hero h1{font-size:clamp(40px,5.7vw,76px);line-height:1.05}.role-switch{align-items:flex-start;flex-wrap:wrap}.role-path{display:flex;flex-direction:column;gap:14px;align-items:flex-start}.role-path p{font-size:12px;color:var(--muted);max-width:330px;margin:0}.benefits{grid-template-columns:repeat(4,1fr)}.benefits .principle{padding:22px;border:1px solid #e3e9f2;background:var(--white);border-radius:18px}.benefits .principle b{font-size:16px}.benefits .principle span{font-size:13px;line-height:1.8}.categories .ico{width:32px;height:32px}.onboarding{max-width:850px}.onboarding h1{font-size:clamp(30px,4vw,48px);line-height:1.2}.onboarding-steps{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.onboarding-steps span{padding:12px;background:#edf3ff;border-radius:12px;font-size:12px}.sphere-picker{border:1px solid #e3e9f2;border-radius:14px;padding:18px;margin:24px 0;display:grid;gap:10px}.sphere-picker legend{font-weight:800}.sphere-picker p{font-size:12px;color:var(--muted)}.sphere-picker label,.portrait-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6}.sphere-picker input,.portrait-consent input{width:auto!important;flex-shrink:0;margin-top:4px!important}.portrait-preview{width:120px;height:120px;object-fit:cover;border-radius:24px;margin:20px 0}.portrait,.proposal-avatar{object-fit:cover}.proposal-avatar{width:64px;height:64px;border-radius:16px}.account-modes{display:flex;gap:6px;margin:18px 0}.account-modes button{padding:9px;font-size:12px}.account-modes button:disabled{background:#edf3ff;color:#2563eb;opacity:1}.profile-specialities{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.profile-specialities span{font-size:10px;padding:6px;background:#f4f7fb;border-radius:8px}.onboarding .field small{display:block;font-size:12px;color:var(--muted);margin-top:8px}@media(max-width:900px){.benefits{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:clamp(40px,8vw,66px)}}@media(max-width:550px){.benefits{grid-template-columns:1fr}.role-path{width:100%}.hero h1{font-size:44px}.role-switch .switch{width:100%}}
/* Stable role journey and smoothly expanding categories */
.hero{align-items:start}.hero .lead{min-height:124px}.role-switch{flex-direction:column;align-items:flex-start;gap:18px}.role-path{width:100%;max-width:440px;display:grid;grid-template-rows:48px 36px 48px;gap:8px}.role-path #roleHint{line-height:24px;align-self:start}.role-path #proRequirements{min-height:36px;line-height:18px}.role-path #proRequirements[hidden]{display:block!important;visibility:hidden}.role-path .btn{justify-self:start;min-width:205px;align-self:start}.task-card,.task-card:hover{transform:none;transition:none}.category-expansion{grid-column:1/-1;display:grid;grid-template-rows:0fr;transition:grid-template-rows .36s cubic-bezier(.2,.65,.25,1)}.category-expansion.expanded{grid-template-rows:1fr}.category-expansion-inner{overflow:hidden;min-height:0}.category-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:1px}.category-expansion:not(.expanded) .category-more-grid{visibility:hidden;transition:visibility 0s .36s}.category-expansion.expanded .category-more-grid{visibility:visible;transition:none}.categories .cat:hover{transform:none}.role-switch .switch{flex-shrink:0}.rating-summary{color:#a96b00;font-size:14px;font-weight:700}.review-panel{margin-top:24px}.star-picker{border:0;padding:12px 0 20px;display:flex;gap:10px;flex-wrap:wrap}.star-picker legend{font-weight:700}.star-picker label{display:grid;justify-items:center;cursor:pointer}.star-picker input{width:18px;height:18px;accent-color:#2563eb}.star-picker span{font-size:34px;color:#cbd5e1;transition:color .15s}.star-picker label.filled span{color:#eaa419}.star-picker small{font-size:11px;color:var(--muted)}.public-profile{max-width:1000px}.public-profile-head{display:flex;align-items:flex-start;gap:28px}.public-profile-head h1{font-size:38px;margin:12px 0}.public-avatar{width:140px;height:140px;object-fit:cover;border-radius:24px}.public-profile h2{margin-top:36px}.portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.portfolio-grid figure{margin:0;background:var(--white);border:1px solid #e3e9f2;border-radius:18px;overflow:hidden}.portfolio-grid img{width:100%;aspect-ratio:4/3;object-fit:cover}.portfolio-grid figcaption{padding:14px;font-size:13px;overflow-wrap:anywhere}.reviews-list{display:grid;gap:16px}.reviews-list small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.review-text,.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere}.review-form textarea{width:100%}.agree-order-price{margin-bottom:14px}.share-feedback{font-size:12px;overflow-wrap:anywhere}.portfolio-form{margin-top:20px}@media(max-width:900px){.hero .lead{min-height:124px}.role-path{grid-template-rows:48px 36px 48px}.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.hero .lead{min-height:184px}.category-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-profile-head{flex-direction:column;gap:16px}.public-profile-head h1{font-size:30px}.public-avatar{width:110px;height:110px}.portfolio-grid{grid-template-columns:1fr}.role-path .btn{width:100%;justify-self:stretch}.role-path{max-width:none}}@media(prefers-reduced-motion:reduce){.category-expansion{transition:none}}
.hero{overflow-anchor:none}
.role-path{grid-template-rows:48px 48px 36px}.role-path #roleHint{grid-row:1}.role-path .btn{grid-row:2}.role-path #proRequirements{grid-row:3}.hero{padding-top:48px}@media(max-width:550px){.hero{padding-top:28px}}
/* Sliding role indicator, without moving the surrounding layout. */
.role-switch .switch{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:320px;max-width:100%;isolation:isolate}.role-switch .switch::before{content:'';position:absolute;inset:5px auto 5px 5px;width:calc((100% - 10px)/2);border-radius:12px;background:var(--white);box-shadow:var(--shadow-sm);transform:translateX(0);transition:transform .32s cubic-bezier(.22,.68,.25,1);z-index:0}.role-switch .switch.is-pro::before{transform:translateX(100%)}.role-switch .switch button{position:relative;z-index:1;min-width:0;white-space:nowrap;padding:11px 8px;transition:color .24s ease}.role-switch .switch button.active{background:transparent;box-shadow:none}.categories,.category-more-grid{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.categories .cat{min-width:0;max-width:100%;box-sizing:border-box}.categories .cat b{flex:1 1 0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:auto}.categories .ico{flex:0 0 32px}.category-expansion,.category-expansion-inner{min-width:0}@media(max-width:800px){.categories,.category-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.role-switch .switch::before{transition:none}}
.order-wizard-page{padding:36px 0 70px}.wizard-back-link{color:var(--muted);text-decoration:none;font-size:13px}.wizard-layout{display:grid;grid-template-columns:300px minmax(0,760px);gap:48px;margin-top:28px;justify-content:center;align-items:start}.wizard-sidebar{padding:20px 0;position:sticky;top:110px}.wizard-sidebar h1{font-size:42px;line-height:1.12;margin:22px 0}.wizard-sidebar>p{font-size:14px;line-height:1.8;color:var(--muted)}.wizard-progress{list-style:none;padding:0;margin:32px 0;display:grid;gap:20px}.wizard-progress li{display:flex;align-items:center;gap:12px;font-size:13px;color:#94a3b8}.wizard-progress li span{display:grid;place-items:center;width:32px;height:32px;background:#e8edf4;border-radius:50%;font-weight:800}.wizard-progress li.current{color:var(--ink);font-weight:800}.wizard-progress li.current span{background:#2563eb;color:white}.wizard-progress li.complete span{background:#dceee5;color:#237a51}.wizard-privacy{padding:16px;background:#edf3ff;border-radius:14px;font-size:12px;line-height:1.8;color:#536a89}.wizard-card{background:var(--white);border:1px solid #e3e9f2;border-radius:26px;padding:36px;box-shadow:0 14px 40px rgba(11,18,32,.04);scroll-margin-top:100px;min-width:0}.wizard-step h2{font-size:27px;line-height:1.25;margin:12px 0}.wizard-step-count{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#2563eb}.wizard-intro{font-size:14px;color:var(--muted);line-height:1.8;margin:0 0 28px;max-width:540px}.wizard-card .field{display:block;font-size:13px;font-weight:700;margin-bottom:20px}.wizard-card .field input,.wizard-card .field select,.wizard-card .field textarea{display:block;width:100%;box-sizing:border-box;margin-top:9px;font:inherit;font-weight:400;padding:13px 14px;border:1px solid #dbe3ed;border-radius:12px;background:var(--white);min-width:0;outline:none;transition:border-color .2s,box-shadow .2s}.wizard-card .field input:focus,.wizard-card .field select:focus,.wizard-card .field textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #edf3ff}.wizard-card .field textarea{resize:vertical;min-height:120px}.wizard-card .field small,.wizard-help{display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.7;margin-top:8px}.wizard-card .form-row{gap:18px}.optional{font-weight:400;color:#94a3b8;font-size:11px}.wizard-upload{width:100%;padding:28px;border:1px dashed #bfd1ee;border-radius:16px;background:#f8faff;color:#2563eb;text-align:center}.wizard-upload span{display:block;font-size:12px;color:var(--muted);margin-top:10px}.wizard-address-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:14px}.wizard-navigation{display:flex;gap:12px;border-top:1px solid #edf1f6;padding-top:24px;margin-top:26px;align-items:center}.wizard-nav-spacer{flex:1}.wizard-navigation .btn{white-space:normal;text-align:center}.wizard-summary{padding:22px;background:#f4f7fb;border-radius:16px}.wizard-summary h3{font-size:15px;margin:0 0 16px}.wizard-summary>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin:12px 0;font-size:12px;line-height:1.7}.wizard-summary b{color:var(--muted);font-weight:500}.wizard-summary span{overflow-wrap:anywhere}.address-search{position:relative}.address-suggestions{position:absolute;top:80px;left:0;right:0;z-index:5;border:1px solid #dbe3ed;background:var(--white);border-radius:12px;box-shadow:0 12px 32px #0b12201a;max-height:270px;overflow:auto}.address-suggestions button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #edf1f6;background:var(--white);padding:14px;font:inherit;font-size:13px;cursor:pointer;color:var(--ink)}.address-suggestions button:hover,.address-suggestions button:focus{background:#edf3ff}.address-attribution{font-size:10px;color:#94a3b8;margin-bottom:12px}.address-attribution a{color:var(--muted)}.wizard-error{color:#b42318;font-size:13px}.wizard-address-note{font-size:12px;padding:12px;border-radius:12px;background:#f4f7fb;margin:20px 0}@media(max-width:1000px){.wizard-layout{grid-template-columns:240px minmax(0,1fr);gap:26px}.wizard-card{padding:26px}.wizard-sidebar h1{font-size:34px}}@media(max-width:750px){.wizard-layout{display:block}.wizard-sidebar{position:static;padding:0}.wizard-sidebar h1,.wizard-sidebar>p,.wizard-privacy{display:none}.wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 24px}.wizard-progress li{flex-direction:column;text-align:center;gap:8px;font-size:10px;line-height:1.4}.wizard-sidebar .eyebrow{font-size:11px}.wizard-card{padding:22px;border-radius:20px}.wizard-step h2{font-size:24px}.wizard-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-address-grid>.field:first-child{grid-column:1/-1}.wizard-card .form-row{grid-template-columns:1fr;gap:0}.order-wizard-page{padding-top:24px}.wizard-navigation{gap:8px}.wizard-navigation .btn{font-size:12px;padding:12px}.wizard-summary>div{grid-template-columns:1fr;gap:2px}}
@media(max-width:750px){.wizard-card .field input,.wizard-card .field select,.wizard-card .field textarea{font-size:16px}}
.avatar-editor{margin:0 0 18px}.avatar-editor summary{font-size:12px;color:#2563eb;cursor:pointer;list-style:none;display:inline-block;padding:6px 0}.avatar-editor form{padding:16px 0 6px}.avatar-editor .field{display:block;font-size:12px;margin-bottom:12px}.avatar-editor input[type=file]{width:100%;font-size:11px;margin-top:8px}.avatar-new-preview{width:96px;height:96px;object-fit:cover;border-radius:18px;margin-bottom:16px}.avatar-editor .btn{margin-top:10px;width:100%;font-size:12px}
/* Display the supplied logo at its visible bounds; preserve the original PNG. */
.brand-logo{position:relative;display:block;width:44px;height:48px;flex:0 0 44px;overflow:hidden}.brand-logo img{position:absolute;display:block;max-width:none;width:198.64%;height:auto;left:-51.73%;top:-65.37%;pointer-events:none}.brand-logo{width:48px;flex-basis:48px}@media(max-width:550px){.brand-logo{width:40px;height:40px;flex-basis:40px}}
/* Compact logo aligned with the wordmark. */
.brand-logo{width:32px;height:32px;flex-basis:32px;align-self:center}.brand{gap:8px}@media(max-width:550px){.brand-logo{width:28px;height:28px;flex-basis:28px}}

/* Support */
.support-page{padding-top:64px;padding-bottom:72px;max-width:1040px}
.support-heading{margin-bottom:34px}.support-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--accent)}
.support-heading h1{font-size:clamp(32px,4.4vw,52px);line-height:1.14;letter-spacing:-.045em;margin:14px 0 18px;font-weight:800}
.support-heading>p{font-size:17px;line-height:1.75;color:var(--muted);margin:0}
.support-contact-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}
.support-telegram,.support-email{padding:32px;border-radius:26px;position:relative;overflow:hidden;display:flex;align-items:flex-start;flex-direction:column}
.support-telegram{background:linear-gradient(135deg,#2563eb,#1646bb);color:#fff;box-shadow:0 16px 36px #2563eb20}
.support-email{background:var(--white);border:1px solid var(--line)}
.support-channel-icon{width:52px;height:52px;border-radius:16px;background:#ffffff20;display:grid;place-items:center;margin-bottom:24px}
.support-channel-icon svg{width:28px;height:28px}.support-email .support-channel-icon{background:var(--accent-light);color:var(--accent)}
.support-card-label{font-size:10px;font-weight:800;letter-spacing:.12em;opacity:.75}
.support-contact-grid h2{font-size:24px;line-height:1.3;letter-spacing:-.025em;margin:10px 0 12px}
.support-contact-grid p{font-size:14px;line-height:1.8;margin:0 0 24px;max-width:360px}.support-telegram p{color:#e1eaff}.support-email p{color:var(--muted)}
.support-telegram-button{display:flex;align-items:center;justify-content:space-between;gap:42px;background:var(--white);color:#1d4ed8;padding:14px 20px;border-radius:13px;font-size:15px;font-weight:800;margin-top:auto;transition:transform .2s,box-shadow .2s}.support-telegram-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0b122025}.support-telegram-button span,.support-email-link span{font-size:21px}
.support-handle{font-size:12px;color:#dbe8ff;margin-top:12px}
.support-email-link{font-weight:800;font-size:16px;display:flex;gap:14px;align-items:center;overflow-wrap:anywhere;max-width:100%;margin-top:auto}
.support-privacy{display:flex;gap:10px;align-items:flex-start;margin-top:24px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;line-height:1.7;max-width:100%}.support-privacy svg{width:20px;height:20px;flex-shrink:0;color:var(--accent)}
.support-faq{display:grid;grid-template-columns:1fr 1.45fr;gap:48px;margin-top:64px}.support-faq-heading h2{font-size:27px;letter-spacing:-.03em;margin:12px 0}.support-faq-heading p{font-size:14px;line-height:1.7;color:var(--muted);max-width:250px}
.support-questions details{border-bottom:1px solid var(--line)}.support-questions summary{list-style:none;display:flex;justify-content:space-between;gap:18px;align-items:center;cursor:pointer;padding:20px 0;font-weight:700;font-size:14px}.support-questions summary::-webkit-details-marker{display:none}.support-questions summary span{font-size:23px;line-height:1;font-weight:500;color:var(--accent);transition:transform .2s}.support-questions details[open] summary span{transform:rotate(45deg)}.support-questions details>div{padding:0 30px 22px 0;color:var(--muted);font-size:13px;line-height:1.9}.support-questions a{text-decoration:underline}
.support-bottom-note{display:flex;gap:10px;justify-content:center;align-items:center;border-top:1px solid var(--line);margin-top:52px;padding-top:24px;font-size:12px;color:var(--muted)}.support-bottom-note span{color:var(--accent);font-size:20px}
@media(max-width:700px){.support-page{padding-top:36px;padding-bottom:40px}.support-contact-grid,.support-faq{grid-template-columns:1fr}.support-telegram,.support-email{padding:26px;border-radius:22px}.support-faq{gap:12px;margin-top:40px}.support-faq-heading p{max-width:none}.support-heading>p{font-size:15px}.support-desktop-break{display:none}.support-bottom-note{font-size:11px;text-align:center;align-items:flex-start}.support-email-link{font-size:15px}}
@media(prefers-reduced-motion:reduce){.support-telegram-button,.support-questions summary span{transition:none}}

/* Clear interactive surfaces and homepage outlines */
.profile-nav{display:inline-flex;align-items:center;gap:8px;cursor:pointer;border:1px solid #c8d9ff;max-width:200px;transition:background .18s,transform .18s,box-shadow .18s}.profile-nav svg{width:18px;height:18px;flex-shrink:0}.profile-nav>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-nav .profile-nav-arrow{width:13px;height:13px}.profile-nav:hover{background:#dce8ff;box-shadow:0 4px 12px #2563eb15;transform:translateY(-1px)}.profile-nav:focus-visible,.cat:focus-visible,.btn:focus-visible{outline:3px solid #93b4ff;outline-offset:3px}
.categories .cat{border:1px solid #cbd9ee;box-shadow:0 2px 3px #12284b03;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}.categories .cat b{min-width:0;overflow-wrap:anywhere;word-break:normal;hyphens:auto}.categories .cat:hover{transform:translateY(-3px);border-color:#7fa7ef;background:#f4f8ff;box-shadow:0 7px 18px #2563eb12}.categories .category-toggle{border:1px dashed #a9c0e7}.categories .category-toggle:hover{transform:translateY(-1px)}
.benefits{align-items:stretch}.benefits .principle{border:1px solid #ccd9ec;box-shadow:0 3px 12px #12284b04;display:flex;flex-direction:column;gap:8px}.benefits .principle span{margin-top:0}.benefits .principle b{line-height:1.5}
.step .mini svg,.city-pin svg{width:25px;height:25px;display:block}.step .mini,.city-pin{display:grid;place-items:center}.step{border-color:#35445a}.jobs .pro-invite{background:linear-gradient(135deg,#f2f7ff,#fff);border:1px solid #b6cef7;box-shadow:0 8px 26px #2563eb0c;position:relative}.jobs .pro-invite:before{content:'';display:block;width:34px;height:4px;border-radius:4px;background:#2563eb;margin-bottom:18px}
@media(hover:hover){.btn{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 6px 18px #12284b15}}
@media(max-width:650px){.profile-nav{max-width:150px}.categories .cat b{font-size:11px}.benefits .principle{padding:20px}}
@media(prefers-reduced-motion:reduce){.profile-nav,.categories .cat,.btn{transition:none}.profile-nav:hover,.categories .cat:hover,.btn:hover{transform:none}}
.language-switch{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:800;flex-shrink:0;padding:7px 9px;background:#f4f7fb;border:1px solid #dfe6f0;border-radius:10px}.language-switch a{color:#8290a5;border-radius:5px;padding:2px}.language-switch a.selected{color:#2563eb}.language-switch a:hover{color:#12399c}.language-switch span{color:#cbd5e1}.mobile-profile-link{background:#eef4ff;border:1px solid #ccdcff;border-radius:12px;padding:14px!important;display:flex;justify-content:space-between;gap:12px;align-items:center}.mobile-profile-link span{font-size:11px;color:var(--muted)}.topbar{gap:16px}.nav{gap:18px}.actions{gap:10px}@media(max-width:650px){.topbar{gap:10px}.language-switch{margin-left:auto}.mobile-menu-btn{margin-left:0}}
@media(max-width:650px){.topbar>.profile-nav{padding:7px 9px;gap:5px;max-width:95px;font-size:11px}.topbar>.profile-nav svg{width:14px;height:14px}.topbar>.profile-nav .profile-nav-arrow{display:none}.topbar .brand{gap:5px}.language-switch{gap:4px;padding:6px}.topbar>.profile-nav+.actions{display:none}}
/* Legal and contact access */
.legal-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:48px;align-items:start}.legal-nav{position:sticky;top:24px}.legal-nav h1{font-size:30px}.legal-nav nav{display:grid;gap:8px;margin:24px 0}.legal-nav nav a{padding:12px 16px;border:1px solid #dbe4f0;border-radius:12px;color:#334155}.legal-nav nav a:hover,.legal-nav nav a.selected{background:#eaf1ff;color:#245bef;border-color:#adc5ff}.legal-copy{background:var(--white);border:1px solid #dbe4f0;border-radius:24px;padding:32px;line-height:1.8;min-width:0;overflow-wrap:anywhere}.legal-copy h2{font-size:21px;margin:32px 0 12px}.legal-summary{padding:20px;border-radius:16px;background:#edf3ff;color:#183b82}.legal-dialog{width:min(580px,calc(100% - 32px));max-height:85dvh;border:1px solid #cbdaf1;border-radius:24px;padding:32px;box-shadow:0 24px 90px #0b122030;line-height:1.65;overflow:auto}.legal-dialog::backdrop{background:#0b122075;backdrop-filter:blur(5px)}.legal-check{margin:20px 0;padding:16px;border:1px solid #cbdaf1;background:#f5f8ff;border-radius:14px;display:block}.legal-check label{display:flex;align-items:flex-start;gap:12px}.legal-check input[type=checkbox]{width:20px;height:20px;flex-shrink:0;margin-top:3px;accent-color:#245bef}.legal-check small{display:block;color:var(--muted);margin-top:10px}.legal-check a{color:#245bef;text-decoration:underline}.contact-pay-card{margin:20px 0;padding:22px;background:#edf3ff;border:1px solid #b4caff;border-radius:20px}.contact-pay-card .btn{margin-top:10px}.verification-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.verification-page>.detail-card{margin-top:24px}.legal-feedback{color:#b42318}.btn:disabled{opacity:.55;cursor:not-allowed}.foot-bottom{flex-wrap:wrap;gap:16px}.legal-copy p{white-space:normal}.legal-dialog p{margin:14px 0}@media(max-width:760px){.legal-layout{grid-template-columns:1fr;gap:22px}.legal-nav{position:static}.legal-copy{padding:22px}.verification-grid{grid-template-columns:1fr}.legal-dialog{padding:22px}.legal-nav nav{grid-template-columns:1fr 1fr}}@media print{header,footer,.legal-nav button,.legal-dialog{display:none!important}.legal-layout{display:block}.legal-nav{position:static}.legal-copy{border:0;padding:0}}
.payment-page{max-width:1100px}.payment-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:26px;margin-top:24px;align-items:start}.payment-layout h1{font-size:clamp(30px,4vw,46px)}.payment-breakdown{background:#f5f8ff;border:1px solid #dbe5f7;border-radius:18px;padding:8px 22px;margin:26px 0}.payment-breakdown p{display:flex;justify-content:space-between;gap:16px;padding:12px 0}.payment-total{border-top:1px solid #d5e1f6;align-items:center}.payment-total strong{font-size:32px;color:#245bef}.diia-card ol{padding-left:22px;line-height:1.8;margin:22px 0}.payment-layout .btn{white-space:normal}@media(max-width:760px){.payment-layout{grid-template-columns:1fr}.payment-breakdown{padding:8px 16px}.payment-total strong{font-size:28px}}
.phone-channel-tabs{display:flex;gap:8px;margin:16px 0;padding:5px;border:1px solid #d6e2f4;border-radius:15px;background:#eef3fb}.phone-channel{flex:1;padding:12px 10px;border:1px solid transparent;border-radius:11px;background:transparent;color:#52637d;font:inherit;font-weight:700;cursor:pointer;transition:background .18s,box-shadow .18s}.phone-channel.active{background:var(--white);color:#245bef;border-color:#d6e2f4;box-shadow:0 2px 7px #142b5510}.phone-channel small{display:block;font-size:10px;font-weight:500}.sms-channel{margin-top:14px}.sms-channel .field{margin:12px 0}.sms-code-step{padding-top:16px}.sms-feedback{font-size:13px;line-height:1.5;color:#334155}.telegram-panel [hidden]{display:none!important}.telegram-state span{display:block;color:var(--muted);font-size:13px;margin-top:4px}

.phone-channel:disabled{opacity:.45;cursor:not-allowed}

/* Soft blue and mint light on a clean white canvas. */
body {
  background-color: var(--white);
  background-image:
    radial-gradient(ellipse 380px 420px at 0% 24%, rgba(161, 232, 210, .32) 0%, rgba(207, 245, 232, .16) 46%, transparent 74%),
    radial-gradient(ellipse 520px 460px at 100% 8%, rgba(170, 201, 255, .29) 0%, rgba(219, 234, 255, .13) 48%, transparent 76%),
    radial-gradient(ellipse 430px 360px at 87% 100%, rgba(177, 235, 218, .20) 0%, transparent 74%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}
@media (max-width: 640px) {
  body {
    background-image:
      radial-gradient(ellipse 220px 330px at 0% 18%, rgba(161, 232, 210, .26), transparent 75%),
      radial-gradient(ellipse 270px 360px at 100% 65%, rgba(170, 201, 255, .24), transparent 76%);
  }
}
@media print { body { background: #fff !important; } }

/* Guided account setup */
.signup-card{width:100%;max-width:640px}.signup-card h2{font-size:24px;margin:24px 0 20px}.signup-progress{position:relative;padding-bottom:16px;margin:24px 0;color:var(--muted);font-size:14px;border-bottom:4px solid #e9eef7}.signup-progress:after{content:"";position:absolute;left:0;bottom:-4px;height:4px;width:var(--progress);background:var(--accent,#2563eb);border-radius:4px;transition:width .25s}.signup-actions{display:flex;gap:12px;align-items:center;margin-top:28px}.signup-actions .signup-next,.signup-actions [type=submit]{margin-left:auto;margin-top:0!important}.signup-actions [hidden],[data-signup-step][hidden]{display:none!important}.signup-error{color:#b42318}.signup-card .sphere-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:420px;overflow:auto}.signup-card .sphere-picker legend,.signup-card .sphere-picker p{grid-column:1/-1}.signup-card .sphere-picker label{padding:12px;border:1px solid #dae3f2;border-radius:12px;font-size:14px}.phone-success{padding:18px;background:#e9f9f1;border-radius:14px}@media(max-width:540px){.signup-card .sphere-picker{grid-template-columns:1fr}.signup-card{padding:24px 20px}.signup-actions .btn{padding:13px 18px}}

/* Consistent, responsive controls for the professional job feed. */
#browseOrders .job-filters{display:grid;grid-template-columns:minmax(140px,.85fr) repeat(3,minmax(0,1fr)) auto;gap:16px;align-items:end;padding:24px;margin:24px 0 32px;background:var(--white);border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 6px 24px #162b4d05}
#browseOrders .job-filters .field{min-width:0;margin:0;width:100%}
#browseOrders .job-filters label{display:block;font-size:13px;font-weight:600;line-height:20px;color:#526078;margin:0 0 8px}
#browseOrders .job-filters select{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;max-width:100%;height:52px;box-sizing:border-box;padding:0 40px 0 15px;border:1px solid #dce3ed;border-radius:14px;background-color:#f8fafc;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;font:inherit;font-size:15px;color:#1e293b;cursor:pointer;transition:background-color .18s,border-color .18s,box-shadow .18s;text-overflow:ellipsis}
#browseOrders .job-filters select:hover{background-color:#f1f5fb;border-color:#afbed4}
#browseOrders .job-filters select:focus-visible{outline:none;background-color:var(--white);border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}
#browseOrders .job-filters select:disabled{opacity:.6;cursor:wait}
#browseOrders .job-filters .btn{height:52px;border-radius:14px;padding:0 24px;margin:0;box-shadow:none;transition:background-color .18s,transform .18s}
#browseOrders .job-filters .btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #2563eb20}
@media(max-width:1100px){#browseOrders .job-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#browseOrders .job-filters .btn{grid-column:1/-1;width:100%}}
@media(max-width:540px){#browseOrders .job-filters{grid-template-columns:minmax(0,1fr);padding:20px;gap:18px;border-radius:20px}}
@media(prefers-reduced-motion:reduce){#browseOrders .job-filters select,#browseOrders .job-filters .btn{transition:none;transform:none}}

.legal-toc{margin:24px 0;padding:18px 20px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.legal-toc summary{cursor:pointer;font-weight:700}.legal-toc ol{margin:16px 0 0;padding-left:22px}.legal-toc li{padding:5px 0}.legal-copy section{scroll-margin-top:110px}.legal-copy p{font-size:16px;line-height:1.85}.legal-copy h2{line-height:1.4}.legal-nav nav a{line-height:1.45}@media print{.legal-toc{display:none}.legal-copy section{break-inside:auto}.legal-copy h2{break-after:avoid}.legal-copy p{orphans:3;widows:3}}

.legal-address{margin-top:24px;font-size:13px;color:var(--muted)}.legal-address summary{cursor:pointer;width:fit-content}.legal-address summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}.legal-copy .legal-address p{font-size:13px;line-height:1.6}

.code-inputs input.email-otp{width:min(100%,320px);letter-spacing:.45em;padding-left:.45em}
