/* [project]/app/globals.css [app-client] (css) */
:root {
  --bg: #f5f7fb;
  --surface: #fff;
  --surface-2: #eef2f7;
  --text: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --accent: #111827;
  --blue: #315cf5;
  --green: #16a34a;
  --danger: #b42318;
  --radius: 18px;
  --shadow: 0 12px 40px #10182812;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--bg);
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  line-height: 1.5;
}

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

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

button {
  cursor: pointer;
}

.site-header {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  z-index: 50;
  background: #ffffffd6;
  border-bottom: 1px solid #e4e7ecdb;
  align-items: center;
  height: 72px;
  display: flex;
  position: sticky;
  top: 0;
}

.header-inner {
  align-items: center;
  gap: 34px;
  width: min(1240px, 100%);
  margin: auto;
  padding: 0 24px;
  display: flex;
}

.brand {
  letter-spacing: -.045em;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 850;
  display: flex;
}

.brand-mark {
  color: #fff;
  background: #111827;
  border-radius: 9px;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 14px;
  display: grid;
}

.main-nav {
  color: #475467;
  flex: 1;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.main-nav a:hover {
  color: #111827;
}

.header-actions {
  gap: 9px;
  display: flex;
}

.btn {
  border: 1px solid var(--line);
  color: #344054;
  background: #fff;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  transition: all .18s;
  display: inline-flex;
}

.btn:hover {
  border-color: #c8ced8;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: #111827;
  border-color: #111827;
  box-shadow: 0 5px 16px #1118271f;
}

.btn-primary:hover {
  background: #202938;
  border-color: #202938;
}

.btn-ghost {
  background: #ffffffb3;
}

.btn-lg {
  padding: 13px 18px;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  text-align: center;
  max-width: 1180px;
  margin: auto;
  padding: 112px 24px 84px;
}

.hero-glow {
  pointer-events: none;
  background: radial-gradient(circle, #315cf51c, #0000 68%);
  width: 700px;
  height: 420px;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.eyebrow {
  color: #667085;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 800;
}

.eyebrow-light {
  color: #aab5c5;
}

.eyebrow-dot {
  vertical-align: 1px;
  background: #315cf5;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  display: inline-block;
}

.hero h1 {
  letter-spacing: -.075em;
  max-width: 980px;
  margin: 18px auto 24px;
  font-size: clamp(48px, 7.4vw, 84px);
  line-height: .96;
  position: relative;
}

.hero h1 span {
  color: #667085;
}

.hero-lede {
  color: var(--muted);
  max-width: 690px;
  margin: 0 auto 38px;
  font-size: 18px;
  line-height: 1.65;
  position: relative;
}

.choices {
  text-align: left;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  max-width: 850px;
  margin: auto;
  display: grid;
  position: relative;
}

.choice-card {
  border: 1px solid var(--line);
  min-height: 190px;
  box-shadow: var(--shadow);
  background: #ffffffeb;
  border-radius: 23px;
  flex-direction: column;
  padding: 28px;
  transition: all .2s;
  display: flex;
}

.choice-card:hover {
  border-color: #c7cfdb;
  transform: translateY(-3px);
  box-shadow: 0 20px 50px #1018281c;
}

.choice-title {
  letter-spacing: -.035em;
  font-size: 22px;
  font-weight: 850;
}

.choice-description {
  color: var(--muted);
  max-width: 350px;
  margin: 8px 0 0;
  line-height: 1.55;
}

.choice-arrow {
  margin-top: auto;
  font-size: 26px;
}

.hero-note {
  color: #98a2b3;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.hero-note i {
  background: #c4c9d2;
  border-radius: 50%;
  width: 3px;
  height: 3px;
}

.page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 54px 24px;
}

.section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.section-heading {
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
  display: flex;
}

.section-heading h2, .cta-section h2, .value-panel h2 {
  letter-spacing: -.055em;
  margin: 9px 0 0;
  font-size: 38px;
  line-height: 1.05;
}

.text-link {
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  margin-left: 5px;
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  display: grid;
}

.step-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 24px;
}

.step-number {
  color: #315cf5;
  margin-bottom: 42px;
  font-size: 12px;
  font-weight: 850;
}

.step-card h3 {
  letter-spacing: -.03em;
  margin: 0 0 7px;
  font-size: 20px;
}

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

.value-section {
  padding-top: 20px;
}

.value-panel {
  color: #fff;
  background: #111827;
  border-radius: 28px;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  padding: 42px;
  display: grid;
  box-shadow: 0 24px 60px #11182729;
}

.value-panel h2 {
  font-size: 46px;
}

.value-panel p {
  color: #aab5c5;
  max-width: 560px;
  line-height: 1.7;
}

.value-list {
  gap: 0;
  display: grid;
}

.value-list > div {
  border-bottom: 1px solid #ffffff1c;
  gap: 4px;
  padding: 17px 0;
  display: grid;
}

.value-list > div:last-child {
  border-bottom: 0;
}

.value-list b {
  font-size: 15px;
}

.value-list span {
  color: #9ca8b8;
  font-size: 13px;
}

.cta-section {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-bottom: 100px;
  display: flex;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-actions {
  flex-shrink: 0;
  gap: 10px;
  display: flex;
}

.toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
  display: flex;
}

.toolbar h1 {
  letter-spacing: -.055em;
  margin: 7px 0 0;
  font-size: 42px;
}

.search-box {
  gap: 8px;
  width: min(620px, 100%);
  display: flex;
}

.search-box input {
  flex: 1;
}

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

.card, .dash-card, .sticky-card, .auth-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 25px #10182809;
}

.card {
  padding: 22px;
}

.card-title {
  font-size: 17px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.field {
  gap: 7px;
  margin: 17px 0;
  display: grid;
}

.field > span {
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.field input, .field textarea, .field select, .search-box input {
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  outline: none;
  width: 100%;
  padding: 11px 12px;
  transition: all .15s;
}

.field input:focus, .field textarea:focus, .field select:focus, .search-box input:focus {
  border-color: #8aa1ff;
  box-shadow: 0 0 0 3px #315cf51a;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-error {
  color: #b42318;
  background: #fff6f5;
  border: 1px solid #fecdca;
  border-radius: 11px;
  margin: 12px 0;
  padding: 10px 12px;
  font-size: 13px;
}

.auth-page {
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 40px 20px;
  display: grid;
}

.auth-card {
  width: min(460px, 100%);
  padding: 32px;
}

.auth-card h1 {
  letter-spacing: -.055em;
  margin: 8px 0;
  font-size: 35px;
}

.auth-form {
  margin-top: 25px;
}

.auth-switch {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.auth-switch a {
  color: #315cf5;
  font-weight: 750;
}

.dashboard-page {
  padding-top: 48px;
}

.dashboard-head {
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
  display: flex;
}

.dashboard-head h1 {
  letter-spacing: -.055em;
  margin: 7px 0;
  font-size: 40px;
}

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

.dashboard-grid {
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  display: grid;
}

.dashboard-grid.lower {
  grid-template-columns: 1.3fr .7fr;
  margin-top: 15px;
}

.dash-card {
  padding: 22px;
}

.dash-card.wide {
  min-height: 310px;
}

.dash-card-head {
  color: #475467;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 750;
  display: flex;
}

.dash-card-head a {
  color: #315cf5;
}

.dash-card h2 {
  letter-spacing: -.04em;
  margin: 4px 0 20px;
  font-size: 25px;
}

.dash-card h3 {
  margin: 4px 0;
  font-size: 20px;
}

.status-dot {
  background: #f59e0b;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  display: inline-block;
}

.list-row {
  border-top: 1px solid #eef0f3;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  display: flex;
}

.list-row > div {
  gap: 2px;
  display: grid;
}

.list-row b {
  font-size: 14px;
}

.list-row span {
  color: var(--muted);
  font-size: 12px;
}

.list-row.compact {
  padding: 12px 0;
}

.pill {
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 999px;
  padding: 4px 8px;
  font-weight: 750;
  display: inline-flex;
  color: #475467 !important;
  font-size: 11px !important;
}

.pill-published, .pill-accepted, .pill-completed {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #027a48 !important;
}

.pill-submitted, .pill-pending {
  background: #fffaeb;
  border-color: #fedf89;
  color: #b54708 !important;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  border: 1px dashed #d9dee7;
  border-radius: 14px;
  padding: 28px;
}

.back-link {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.job-detail-page {
  padding-top: 38px;
}

.job-detail-layout {
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: start;
  gap: 50px;
  margin-top: 28px;
  display: grid;
}

.job-detail-layout article > h1 {
  letter-spacing: -.065em;
  max-width: 780px;
  margin: 9px 0 17px;
  font-size: 48px;
  line-height: 1.02;
}

.job-meta {
  color: #667085;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
  display: flex;
}

.job-meta span {
  background: #eef2f7;
  border-radius: 999px;
  padding: 6px 10px;
}

.prose {
  max-width: 760px;
  margin-top: 52px;
}

.prose h2 {
  letter-spacing: -.025em;
  margin: 30px 0 9px;
  font-size: 20px;
}

.prose p {
  white-space: pre-wrap;
  color: #475467;
  line-height: 1.8;
}

.sticky-card {
  padding: 24px;
  position: sticky;
  top: 95px;
}

.big-price {
  letter-spacing: -.045em;
  margin-top: 5px;
  font-size: 29px;
  font-weight: 850;
}

.divider {
  background: #eef0f3;
  height: 1px;
  margin: 20px 0;
}

.employer-mini {
  gap: 11px;
  margin-bottom: 18px;
  display: flex;
}

.avatar {
  color: #fff;
  background: #111827;
  border-radius: 12px;
  place-items: center;
  width: 42px;
  height: 42px;
  font-weight: 850;
  display: grid;
}

.employer-mini div:last-child {
  gap: 2px;
  display: grid;
}

.employer-mini span {
  color: var(--muted);
  font-size: 12px;
}

.proposal-form {
  margin-top: 20px;
}

.form-section {
  border-top: 1px solid #eef0f3;
  margin-top: 17px;
  padding-top: 17px;
}

.form-section-title {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #667085;
  font-size: 11px;
  font-weight: 850;
}

.price-hint {
  color: #667085;
  margin-top: 12px;
  font-size: 12px;
}

.price-row {
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  display: flex;
}

.price-row input {
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  flex: 1;
  padding: 11px;
}

.price-row span {
  font-size: 13px;
  font-weight: 800;
}

.success-panel {
  background: #f0fdf4;
  border: 1px solid #abefc6;
  border-radius: 14px;
  margin-top: 20px;
  padding: 20px;
}

.success-icon {
  color: #fff;
  background: #16a34a;
  border-radius: 50%;
  place-items: center;
  width: 36px;
  height: 36px;
  font-weight: 900;
  display: grid;
}

.success-panel h3 {
  margin: 12px 0 5px;
}

.success-panel p {
  color: #475467;
  font-size: 13px;
}

.notice {
  color: #475467;
  background: #f2f4f7;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  margin-top: 40px;
  padding: 30px 24px;
}

@media (max-width: 900px) {
  .value-panel, .job-detail-layout {
    grid-template-columns: 1fr;
  }

  .sticky-card {
    position: static;
  }

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

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

  .value-panel {
    gap: 20px;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .header-inner {
    padding: 0 15px;
  }

  .main-nav, .hide-mobile {
    display: none;
  }

  .hero-home {
    padding-top: 78px;
  }

  .hero h1 {
    font-size: 49px;
  }

  .choices, .grid, .dashboard-grid, .dashboard-grid.lower {
    grid-template-columns: 1fr;
  }

  .hero-note {
    flex-wrap: wrap;
  }

  .page {
    padding-left: 17px;
    padding-right: 17px;
  }

  .section-heading, .dashboard-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading h2, .cta-section h2 {
    font-size: 32px;
  }

  .value-panel {
    padding: 28px 22px;
  }

  .value-panel h2 {
    font-size: 36px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .toolbar h1 {
    font-size: 35px;
  }

  .job-detail-layout article > h1 {
    font-size: 39px;
  }

  .auth-card {
    padding: 25px 20px;
  }
}

.results-meta {
  color: #98a2b3;
  justify-content: space-between;
  margin: 20px 0 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.job-card {
  transition: all .18s;
  display: block;
}

.job-card:hover {
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

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

.job-card-top > span:last-child {
  color: #98a2b3;
  font-size: 11px;
}

.job-card .card-title {
  margin-top: 18px;
  line-height: 1.3;
}

.job-card-bottom {
  border-top: 1px solid #eef0f3;
  margin-top: 20px;
  padding-top: 14px;
}

.job-card-bottom b {
  font-size: 13px;
}

.job-card-bottom span {
  color: #315cf5;
  font-size: 12px;
  font-weight: 800;
}

.form-shell {
  width: min(700px, 100%);
  margin: 0 auto;
  padding: 55px 24px;
}

.form-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px #1018280a;
}

.form-card h1 {
  letter-spacing: -.055em;
  margin: 8px 0 10px;
  font-size: 38px;
  line-height: 1.05;
}

.form-card label {
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.row {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.error {
  color: #b42318;
  font-size: 13px;
}

.field-error {
  color: #b42318;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
}

.field input[aria-invalid="true"] {
  border-color: #f04438;
  box-shadow: 0 0 0 3px #f0443814;
}

.primary {
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.form-card .notice {
  margin-top: 15px;
}

@media (max-width: 680px) {
  .form-shell {
    padding: 35px 17px;
  }

  .form-card {
    padding: 24px 19px;
  }

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

.detail-top {
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  display: flex;
}

.proposal-list, .contract-list {
  gap: 16px;
  display: grid;
}

.proposal-card {
  background: var(--card, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 30px #0f172a0d;
}

.proposal-card-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.proposal-card-head > div {
  align-items: center;
  gap: 12px;
  display: flex;
}

.avatar-sm {
  color: #fff;
  background: #111827;
  border-radius: 14px;
  place-items: center;
  width: 44px;
  height: 44px;
  font-weight: 800;
  display: grid;
}

.proposal-card h2 {
  margin: 0;
  font-size: 19px;
}

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

.proposal-grid > div {
  background: var(--surface, #f8fafc);
  border-radius: 16px;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  display: flex;
}

.proposal-copy {
  gap: 16px;
  display: grid;
}

.proposal-copy section {
  border-top: 1px solid var(--border, #e5e7eb);
  padding-top: 15px;
}

.proposal-copy p {
  white-space: pre-wrap;
  margin: 7px 0 0;
  line-height: 1.7;
}

.proposal-actions, .contract-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  display: flex;
}

.btn-danger {
  color: #b91c1c;
  background: #fff;
  border: 1px solid #fecaca;
}

.form-error {
  color: #b91c1c;
  width: 100%;
  font-size: 14px;
}

.contract-layout {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 18px;
  display: grid;
}

.contract-main {
  padding: 28px;
}

.contract-main h2 {
  margin: 26px 0 8px;
}

.contract-main p {
  white-space: pre-wrap;
  line-height: 1.75;
}

.contract-status {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.contract-status > span:last-child {
  margin-left: auto;
}

.accept-state {
  gap: 8px;
  width: 100%;
  display: flex;
}

.accept-state span {
  background: #f1f5f9;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.accept-state .ok {
  color: #047857;
  background: #ecfdf5;
}

.contract-row {
  color: inherit;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px;
  text-decoration: none;
  display: flex;
}

.contract-row h2 {
  margin: 5px 0;
}

.pill-shortlisted {
  color: #c2410c;
  background: #fff7ed;
}

.pill-accepted {
  color: #047857;
  background: #ecfdf5;
}

.pill-rejected {
  color: #b91c1c;
  background: #fef2f2;
}

.pill-withdrawn {
  color: #64748b;
  background: #f1f5f9;
}

.pill-pending {
  color: #1d4ed8;
  background: #eff6ff;
}

.pill-draft {
  color: #475569;
  background: #f8fafc;
}

.status-green {
  background: #10b981;
}

.pending-mark {
  color: #64748b;
}

@media (max-width: 760px) {
  .detail-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .proposal-grid, .contract-layout {
    grid-template-columns: 1fr;
  }

  .proposal-card, .contract-main {
    padding: 18px;
  }

  .proposal-card-head {
    flex-direction: column;
  }

  .contract-status > span:last-child {
    width: 100%;
    margin-left: 0;
  }

  .contract-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.kyc-status {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  margin-top: 18px;
  padding: 24px;
}

.kyc-status.success {
  border-color: #9bd4b0;
}

.kyc-status p {
  color: var(--muted);
}

.kyc-banner {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  display: flex;
}

.milestone-panel {
  gap: 12px;
  display: grid;
}

.milestone-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  display: flex;
}

.milestone-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.btn-small {
  padding: 8px 12px;
  font-size: 13px;
}

.milestone-create {
  gap: 16px;
  margin-top: 8px;
  display: grid;
}

.form-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  display: grid;
}

.form-grid input {
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 760px) {
  .milestone-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .milestone-actions {
    justify-content: flex-start;
  }

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

.delivery-input {
  border: 1px solid var(--line);
  background: var(--bg);
  min-width: 220px;
  color: inherit;
  border-radius: 10px;
  padding: 9px 10px;
}

@media (max-width: 760px) {
  .delivery-input {
    width: 100%;
    min-width: 180px;
  }
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  display: grid;
}

.stat-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  gap: 6px;
  padding: 20px;
  display: grid;
}

.stat-card strong {
  font-size: 28px;
}

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

.dev-finance {
  gap: 12px;
  margin-top: 20px;
  display: grid;
}

.inline-form {
  gap: 10px;
  display: flex;
}

.inline-form input {
  max-width: 180px;
}

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

  .inline-form {
    flex-direction: column;
  }

  .inline-form input {
    max-width: none;
  }
}

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

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

.form-grid label {
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid input {
  width: 100%;
}

.stack {
  gap: 10px;
  margin-top: 16px;
  display: grid;
}

.list-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px;
  display: flex;
}

.list-row small {
  color: var(--muted);
  word-break: break-all;
  display: block;
}

.list-row .btn {
  margin-left: 8px;
}

.notice {
  color: #fff;
  background: #111;
  border-radius: 12px;
  padding: 12px 16px;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

@media (max-width: 800px) {
  .grid-2, .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .list-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.chat-shell {
  overflow: hidden;
}

.chat-head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  display: flex;
}

.chat-person {
  margin-right: 8px;
  font-size: 13px;
  font-weight: 800;
}

.chat-person:not(:last-child):after {
  content: " · ";
  color: #98a2b3;
  margin-left: 8px;
}

.chat-messages {
  background: #f8fafc;
  align-content: start;
  gap: 12px;
  height: 58vh;
  min-height: 420px;
  padding: 22px;
  display: grid;
  overflow: auto;
}

.chat-bubble {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px 16px 16px 5px;
  justify-self: start;
  max-width: min(720px, 85%);
  padding: 12px 14px;
  box-shadow: 0 4px 16px #10182809;
}

.chat-bubble.mine {
  color: #fff;
  background: #111827;
  border-color: #111827;
  border-radius: 16px 16px 5px;
  justify-self: end;
}

.chat-author {
  color: #667085;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
}

.chat-bubble.mine .chat-author {
  color: #cbd5e1;
}

.chat-bubble time {
  color: #98a2b3;
  margin-top: 7px;
  font-size: 10px;
  display: block;
}

.chat-bubble.mine time {
  color: #aab5c5;
}

.attachment {
  color: #344054;
  background: #f2f4f7;
  border-radius: 9px;
  margin-top: 9px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  display: block;
}

.mine .attachment {
  color: #fff;
  background: #273142;
}

.chat-compose {
  border-top: 1px solid var(--line);
  gap: 10px;
  padding: 15px 18px;
  display: grid;
}

.chat-compose textarea {
  resize: vertical;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  width: 100%;
  min-height: 80px;
  padding: 11px 12px;
}

.chat-compose-bottom {
  align-items: center;
  gap: 10px;
  display: flex;
}

.chat-compose-bottom .btn-primary {
  margin-left: auto;
}

.file-chip {
  background: #eef2f7;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.file-chip button {
  background: none;
  border: 0;
}

.notification-list {
  gap: 10px;
  display: grid;
}

.notification-row {
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  display: flex;
}

.notification-row strong {
  font-size: 15px;
}

.notification-row p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 13px;
}

.notification-row time {
  white-space: nowrap;
  color: #98a2b3;
  font-size: 11px;
}

.notification-row.unread {
  border-left: 3px solid #315cf5;
}

.notification-row.read {
  opacity: .8;
}

@media (max-width: 680px) {
  .chat-compose-bottom {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .chat-compose-bottom .btn-primary {
    margin-left: 0;
  }

  .notification-row {
    flex-direction: column;
  }

  .notification-row time {
    white-space: normal;
  }

  .chat-messages {
    height: 55vh;
    min-height: 360px;
  }
}

.appearance-controls {
  align-items: center;
  gap: 7px;
  margin-left: auto;
  display: flex;
}

.appearance-select {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.appearance-select select {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  outline: 0;
  max-width: 96px;
}

.theme-select select {
  max-width: 72px;
}

html[data-resolved-theme="dark"] {
  --bg: #0b1020;
  --surface: #111827;
  --surface-2: #182235;
  --text: #f3f4f6;
  --muted: #aab5c5;
  --line: #273449;
  --accent: #f3f4f6;
  --shadow: 0 12px 40px #00000047;
}

html[data-resolved-theme="dark"] body {
  background: var(--bg);
  color: var(--text);
}

html[data-resolved-theme="dark"] .site-header {
  border-color: var(--line);
  background: #0b1020e0;
}

html[data-resolved-theme="dark"] .brand-mark, .dark .brand-mark {
  color: #111827;
  background: #f3f4f6;
}

html[data-resolved-theme="dark"] .main-nav {
  color: #aab5c5;
}

html[data-resolved-theme="dark"] .main-nav a:hover {
  color: #fff;
}

html[data-resolved-theme="dark"] .btn, html[data-resolved-theme="dark"] .card, html[data-resolved-theme="dark"] .dash-card, html[data-resolved-theme="dark"] .sticky-card, html[data-resolved-theme="dark"] .auth-card, html[data-resolved-theme="dark"] .form-card, html[data-resolved-theme="dark"] .step-card, html[data-resolved-theme="dark"] .choice-card, html[data-resolved-theme="dark"] .kyc-status, html[data-resolved-theme="dark"] .stat-card, html[data-resolved-theme="dark"] .proposal-card {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

html[data-resolved-theme="dark"] .btn-primary {
  color: #111827;
  background: #f3f4f6;
  border-color: #f3f4f6;
}

html[data-resolved-theme="dark"] .btn-ghost {
  color: #f3f4f6;
  background: #111827;
}

html[data-resolved-theme="dark"] .field input, html[data-resolved-theme="dark"] .field textarea, html[data-resolved-theme="dark"] .field select, html[data-resolved-theme="dark"] .search-box input, html[data-resolved-theme="dark"] .chat-compose textarea, html[data-resolved-theme="dark"] .delivery-input {
  color: #f3f4f6;
  background: #0f172a;
  border-color: #334155;
}

html[data-resolved-theme="dark"] .chat-messages {
  background: #0f172a;
}

html[data-resolved-theme="dark"] .chat-bubble {
  color: #f3f4f6;
  background: #111827;
  border-color: #273449;
}

html[data-resolved-theme="dark"] .chat-bubble.mine {
  color: #111827;
  background: #f3f4f6;
  border-color: #f3f4f6;
}

html[data-resolved-theme="dark"] .attachment {
  color: #e5e7eb;
  background: #1e293b;
}

html[data-resolved-theme="dark"] .mine .attachment {
  color: #111827;
  background: #e5e7eb;
}

html[data-resolved-theme="dark"] .value-panel {
  background: #020617;
}

html[data-resolved-theme="dark"] .notice {
  color: #111827;
  background: #f3f4f6;
}

html[data-resolved-theme="dark"] .appearance-select {
  color: #f3f4f6;
  background: #111827;
  border-color: #334155;
}

html[data-resolved-theme="dark"] .appearance-select option {
  color: #f3f4f6;
  background: #111827;
}

html[data-resolved-theme="dark"] .form-error {
  color: #fecaca;
  background: #2a1517;
  border-color: #7f1d1d;
}

@media (max-width: 680px) {
  .appearance-controls {
    margin-left: 0;
  }

  .appearance-select {
    padding: 6px;
  }

  .appearance-select select {
    max-width: 74px;
  }

  .theme-select select {
    max-width: 58px;
  }
}

.auth-card-wide {
  width: min(760px, 100%);
}

.social-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.social-btn {
  color: #1d2939;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-weight: 700;
  display: flex;
}

.social-btn b {
  font-size: 18px;
}

.auth-divider {
  color: #98a2b3;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  font-size: 13px;
  display: flex;
}

.auth-divider:before, .auth-divider:after {
  content: "";
  background: #e4e7ec;
  flex: 1;
  height: 1px;
}

.name-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 46px;
}

.password-toggle {
  color: #667085;
  background: none;
  border: 0;
  padding: 8px;
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
}

.check-row {
  color: #475467;
  align-items: flex-start;
  gap: 10px;
  margin: 15px 0;
  font-size: 13px;
  display: flex;
}

.check-row input {
  accent-color: #111827;
  margin-top: 4px;
}

.signup-submit {
  min-height: 48px;
  margin-top: 8px;
}

@media (max-width: 700px) {
  .social-grid, .name-grid {
    grid-template-columns: 1fr;
  }

  .auth-card-wide {
    padding: 24px;
  }
}

.app-sidebar {
  border-right: 1px solid var(--line);
  z-index: 80;
  background: #fff;
  flex-direction: column;
  width: 286px;
  padding: 16px 12px;
  transition: width .2s, transform .2s;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  box-shadow: 8px 0 28px #10182809;
}

.sidebar-top {
  align-items: center;
  gap: 8px;
  min-height: 40px;
  display: flex;
}

.sidebar-brand {
  flex: 1;
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}

.sidebar-brand-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 850;
  overflow: hidden;
}

.sidebar-collapse {
  border: 1px solid var(--line);
  background: var(--surface);
  width: 32px;
  height: 32px;
  color: var(--muted);
  border-radius: 9px;
  flex: none;
  font-size: 21px;
  line-height: 1;
}

.sidebar-user {
  background: var(--surface-2);
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  margin: 18px 4px 12px;
  padding: 10px;
  display: flex;
}

.sidebar-user > div {
  min-width: 0;
  display: grid;
}

.sidebar-user b {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  overflow: hidden;
}

.sidebar-user span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.sidebar-avatar {
  color: #fff;
  background: #111827;
  border-radius: 9px;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
}

.sidebar-nav {
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  padding-right: 2px;
  display: flex;
  overflow: auto;
}

.sidebar-link {
  color: #475467;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 10px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 650;
  display: flex;
}

.sidebar-link:hover, .sidebar-link.active {
  color: #111827;
  background: #f2f4f7;
}

.sidebar-icon {
  text-align: center;
  flex: none;
  width: 21px;
  font-size: 17px;
}

.sidebar-button {
  cursor: pointer;
}

.sidebar-chevron {
  color: #98a2b3;
  margin-left: auto;
  font-size: 16px;
}

.sidebar-subnav {
  padding: 1px 0 5px 41px;
  display: grid;
}

.sidebar-subnav a {
  color: #667085;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 12px;
}

.sidebar-subnav a:hover {
  color: #111827;
  background: #f2f4f7;
}

.sidebar-spacer {
  flex: 1;
  min-height: 20px;
}

.sidebar-footer {
  border-top: 1px solid var(--line);
  color: #667085;
  align-items: center;
  gap: 9px;
  padding: 13px 10px 4px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
}

.sidebar-online-dot {
  background: #16a34a;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.app-sidebar.is-collapsed {
  width: 72px;
}

.app-sidebar.is-collapsed .sidebar-brand-text, .app-sidebar.is-collapsed .sidebar-user > div, .app-sidebar.is-collapsed .sidebar-link > span:not(.sidebar-icon), .app-sidebar.is-collapsed .sidebar-chevron, .app-sidebar.is-collapsed .sidebar-subnav, .app-sidebar.is-collapsed .sidebar-footer span:last-child {
  display: none;
}

.app-sidebar.is-collapsed .sidebar-top {
  justify-content: center;
}

.app-sidebar.is-collapsed .sidebar-user {
  justify-content: center;
  padding: 7px;
}

.app-sidebar.is-collapsed .sidebar-link {
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.app-sidebar.is-collapsed .sidebar-collapse {
  background: #fff;
  position: absolute;
  top: 62px;
  right: -14px;
  box-shadow: 0 4px 14px #1018281f;
}

@media (max-width: 900px) {
  .app-sidebar {
    width: 72px;
    transform: translateX(0);
  }

  .app-sidebar .sidebar-brand-text, .app-sidebar .sidebar-user > div, .app-sidebar .sidebar-link > span:not(.sidebar-icon), .app-sidebar .sidebar-chevron, .app-sidebar .sidebar-subnav, .app-sidebar .sidebar-footer span:last-child {
    display: none;
  }

  .app-sidebar .sidebar-link, .app-sidebar .sidebar-user {
    justify-content: center;
  }

  .site-header, .footer {
    margin-left: 0;
  }
}

.field.field-invalid input, .field.field-invalid select, .field.field-invalid textarea {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px #d92d2014;
}

.field-error {
  color: #b42318;
  margin-top: 0;
  font-size: 12px;
  line-height: 1.4;
  display: block;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

.password-toggle {
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  line-height: 1;
  display: grid;
}

.password-toggle .eye-slash {
  display: inline-block;
}

html[data-resolved-theme="dark"] .app-sidebar {
  border-color: var(--line);
  background: #0f172a;
}

html[data-resolved-theme="dark"] .sidebar-link:hover, html[data-resolved-theme="dark"] .sidebar-link.active {
  color: #fff;
  background: #182235;
}

html[data-resolved-theme="dark"] .sidebar-user {
  background: #182235;
}

html[data-resolved-theme="dark"] .sidebar-collapse {
  color: #f3f4f6;
  background: #111827;
}

html[data-resolved-theme="dark"] .sidebar-subnav a:hover {
  color: #fff;
  background: #182235;
}

.workspace-shell {
  min-height: 100vh;
  padding-left: 286px;
}

.workspace-shell .site-header, .workspace-shell .footer {
  margin-left: 0;
}

.public-shell {
  min-height: 100vh;
}

.public-shell .site-header, .public-shell .footer, .workspace-shell .app-sidebar.is-collapsed ~ .site-header {
  margin-left: 0;
}

@media (max-width: 900px) {
  .workspace-shell {
    padding-left: 72px;
  }

  .workspace-shell .site-header, .workspace-shell .footer {
    margin-left: 0;
  }
}

.workspace-shell.sidebar-collapsed {
  padding-left: 72px;
}

.workspace-shell.sidebar-collapsed .site-header, .workspace-shell.sidebar-collapsed .footer {
  margin-left: 0;
}

@media (max-width: 900px) {
  .workspace-shell.sidebar-collapsed {
    padding-left: 72px;
  }
}

.sidebar-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sidebar-brand .brand-mark {
  flex: none;
}

.sidebar-user {
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
  margin-top: 10px;
  padding-left: 6px;
  padding-right: 6px;
}

.sidebar-user b {
  font-size: 14px;
}

.workspace-shell {
  padding-top: 0;
}

.workspace-shell > main {
  min-height: 100vh;
}

.workspace-shell .footer {
  display: none;
}

.sidebar-footer {
  align-items: center;
  gap: 8px;
  display: flex;
}

.sidebar-logout {
  color: inherit;
  background: none;
  border: 0;
  border-radius: 8px;
  place-items: center;
  margin-left: auto;
  padding: 5px;
  display: grid;
}

.sidebar-logout:hover {
  background: #7f7f7f1a;
}

.app-sidebar.is-collapsed .sidebar-logout {
  margin-left: 0;
}

.sidebar-logout {
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.sidebar-logout-label {
  white-space: nowrap;
}

.app-sidebar.is-collapsed .sidebar-logout-label {
  display: none;
}

.sidebar-brand {
  border-radius: 12px;
  padding: 5px 4px;
  transition: background .18s;
}

.sidebar-brand:hover {
  background: var(--surface-2);
}

.brand-mark-gfm {
  letter-spacing: -.08em;
  background: linear-gradient(145deg, #111827, #315cf5);
  border-radius: 11px;
  width: 36px;
  height: 36px;
  font-size: 13px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 16px #315cf52e;
}

.brand-mark-gfm span {
  z-index: 2;
  position: relative;
}

.brand-mark-gfm i {
  opacity: .72;
  z-index: 2;
  font-size: 9px;
  font-style: normal;
  position: absolute;
  bottom: 3px;
  right: 4px;
}

.sidebar-brand-text {
  gap: 0;
  display: grid;
}

.sidebar-brand-text b {
  letter-spacing: -.025em;
  font-size: 14px;
  line-height: 1.1;
}

.sidebar-brand-text small {
  letter-spacing: .13em;
  color: #98a2b3;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.sidebar-admin-first {
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
  padding-bottom: 6px;
}

.sidebar-admin-first > .sidebar-button {
  font-weight: 800;
}

.sidebar-subnav a.active {
  color: #315cf5;
  background: #eef2ff;
  font-weight: 800;
}

.admin-chat-page {
  padding-top: 42px;
}

.admin-chat-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 16px 18px;
  display: flex;
}

.admin-chat-toolbar p {
  margin: 4px 0 0;
}

.admin-chat-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 18px;
  display: grid;
}

.admin-chat-pane {
  min-width: 0;
  padding: 0;
  overflow: hidden;
}

.admin-chat-pane-head {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  display: flex;
}

.admin-chat-pane-head > div:first-child {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.admin-chat-pane-head > div:first-child > div {
  display: grid;
}

.admin-chat-pane-head span:not(.chat-avatar) {
  color: var(--muted);
  font-size: 11px;
}

.chat-avatar {
  color: #fff;
  background: #111827;
  border-radius: 11px;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 12px;
  font-weight: 850;
  display: grid;
}

.pane-b .chat-avatar {
  background: #315cf5;
}

.admin-chat-pane-head label {
  color: var(--muted);
  white-space: nowrap;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 750;
  display: flex;
}

.admin-chat-pane-head select {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 9px;
  padding: 7px 9px;
  font-weight: 700;
}

.admin-chat-messages {
  background: #f8fafc;
  flex-direction: column;
  gap: 12px;
  height: 58vh;
  min-height: 470px;
  padding: 18px;
  display: flex;
  overflow: auto;
}

.admin-chat-message {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px 15px 15px 5px;
  align-self: flex-start;
  max-width: 88%;
  padding: 11px 13px;
  box-shadow: 0 3px 12px #10182809;
}

.admin-chat-message.own {
  color: #fff;
  background: #111827;
  border-color: #111827;
  border-radius: 15px 15px 5px;
  align-self: flex-end;
}

.admin-chat-message-meta {
  color: #98a2b3;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 750;
}

.own .admin-chat-message-meta {
  color: #cbd5e1;
}

.admin-chat-original {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.55;
}

.admin-chat-translate-row {
  margin-top: 8px;
}

.translate-button {
  color: #315cf5;
  background: none;
  border: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 800;
}

.translate-button:disabled {
  opacity: .6;
}

.admin-chat-translated {
  color: #344054;
  border-top: 1px dashed #d0d5dd;
  margin-top: 9px;
  padding-top: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.admin-chat-translated span {
  color: #98a2b3;
  margin-bottom: 3px;
  font-size: 10px;
  font-weight: 800;
  display: block;
}

.admin-chat-error {
  color: #b42318;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.4;
}

.admin-chat-compose {
  border-top: 1px solid var(--line);
  background: var(--surface);
  grid-template-columns: 1fr auto;
  gap: 9px;
  padding: 13px;
  display: grid;
}

.admin-chat-compose textarea {
  resize: vertical;
  background: var(--surface);
  min-height: 70px;
  color: var(--text);
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  padding: 10px 11px;
}

.admin-chat-compose .btn {
  align-self: end;
}

.small {
  font-size: 12px;
}

html[data-resolved-theme="dark"] .admin-chat-messages {
  background: #0f172a;
}

html[data-resolved-theme="dark"] .admin-chat-translated {
  color: #d0d5dd;
  border-color: #334155;
}

html[data-resolved-theme="dark"] .admin-chat-pane-head select, html[data-resolved-theme="dark"] .admin-chat-compose textarea {
  color: #f3f4f6;
  background: #111827;
  border-color: #334155;
}

@media (max-width: 900px) {
  .admin-chat-grid {
    grid-template-columns: 1fr;
  }

  .admin-chat-messages {
    height: 50vh;
    min-height: 360px;
  }
}

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

.admin-chat-auto {
  margin-left: auto !important;
}

.admin-chat-auto input {
  accent-color: #315cf5;
}

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

.finance-flow {
  gap: 18px;
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
}

.finance-step {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  display: grid;
}

.finance-step > span {
  color: #fff;
  background: #111827;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 12px;
  font-weight: 800;
  display: grid;
}

.finance-step > div {
  gap: 8px;
  display: grid;
}

.finance-step b {
  font-size: 14px;
}

.copy-field {
  align-items: center;
  gap: 0;
  display: flex;
}

.copy-field input {
  border-radius: 11px 0 0 11px !important;
}

.copy-btn {
  background: var(--surface);
  cursor: pointer;
  border: 1px solid #d0d5dd;
  border-left: 0;
  border-radius: 0 11px 11px 0;
  place-items: center;
  min-width: 44px;
  height: 42px;
  display: grid;
}

.request-preview {
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  padding: 14px;
}

.request-preview p {
  color: var(--muted);
  margin: 5px 0 12px;
  font-size: 13px;
  line-height: 1.5;
}

.request-preview div {
  justify-content: space-between;
  gap: 12px;
  display: flex;
}

.finance-result {
  color: #027a48;
  background: #ecfdf3;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
}

.step-head {
  justify-content: space-between;
  align-items: center;
  display: flex !important;
}

.saved-address-form {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  gap: 9px;
  padding: 14px;
  display: grid !important;
}

.withdraw-summary {
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  gap: 10px;
  padding: 16px;
  display: grid;
}

.withdraw-summary > div {
  justify-content: space-between;
  gap: 12px;
  display: flex;
}

.withdraw-summary .total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 15px;
}

.withdraw-summary p {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}

.finance-history {
  margin-top: 18px;
}

.history-filters {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  display: grid;
}

.history-filters label {
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.history-loader {
  text-align: center;
  color: var(--muted);
  padding: 18px;
  font-size: 12px;
}

.finance-history-row {
  align-items: flex-start;
}

.finance-history-row > div:last-child {
  text-align: right;
}

@media (max-width: 760px) {
  .history-filters {
    grid-template-columns: 1fr;
  }

  .finance-step {
    grid-template-columns: 34px 1fr;
  }

  .finance-history-row {
    flex-direction: column;
  }

  .finance-history-row > div:last-child {
    text-align: left;
  }

  .step-head {
    flex-direction: column;
    align-items: flex-start !important;
  }
}

.sidebar-user-wrap {
  position: relative;
}

.sidebar-user {
  cursor: pointer;
  text-align: left;
  width: 100%;
  position: relative;
}

.sidebar-user-chevron {
  color: var(--muted);
  margin-left: auto;
  font-size: 14px;
}

.sidebar-account-menu {
  z-index: 40;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 14px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 5px);
  left: 4px;
  right: 4px;
  box-shadow: 0 18px 40px #0f172a24;
}

.sidebar-account-menu a {
  color: inherit;
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 13px;
  text-decoration: none;
  display: block;
}

.sidebar-account-menu a:hover {
  background: var(--surface-2, #f8fafc);
}

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

.account-profile {
  grid-column: 1 / -1;
  align-items: center;
  gap: 18px;
  padding: 22px;
  display: flex;
}

.account-avatar {
  color: #fff;
  background: #111827;
  border-radius: 18px;
  place-items: center;
  width: 64px;
  height: 64px;
  font-size: 24px;
  font-weight: 850;
  display: grid;
}

.account-profile h2 {
  margin: 0 0 4px;
}

.account-profile p {
  color: var(--muted);
  margin: 0 0 10px;
}

.account-link {
  color: inherit;
  gap: 7px;
  padding: 20px;
  text-decoration: none;
  display: grid;
  position: relative;
}

.account-link span {
  color: var(--muted);
  font-size: 13px;
}

.account-link:after {
  content: "›";
  color: var(--muted);
  font-size: 22px;
  position: absolute;
  top: 50%;
  right: 20px;
}

.security-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.security-card {
  padding: 22px;
}

.security-card:last-child {
  grid-column: 1 / -1;
}

.security-card h2 {
  margin: 5px 0 16px;
}

.security-options {
  gap: 10px;
  display: grid;
}

.security-options button {
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  border-radius: 14px;
  gap: 4px;
  padding: 14px;
  display: grid;
}

.security-options button.selected {
  border-color: #111827;
  box-shadow: 0 0 0 2px #11182714;
}

.security-options button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.security-options span {
  color: var(--muted);
  font-size: 12px;
}

.totp-setup {
  gap: 10px;
  max-width: 320px;
  display: grid;
}

.totp-qr-placeholder {
  border: 1px solid var(--line);
  text-align: center;
  background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 8px, #eef2f7 8px 16px);
  border-radius: 14px;
  place-content: center;
  gap: 6px;
  width: 220px;
  height: 150px;
  display: grid;
}

.totp-qr-placeholder span {
  color: var(--muted);
  font-size: 12px;
}

.totp-setup code {
  word-break: break-all;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
}

.security-label {
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.twofa-line {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  display: grid;
}

.twofa-line small {
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
  display: block;
}

.security-card input, .security-card select {
  margin-top: 5px;
}

.security-card a {
  text-decoration: underline;
}

.sidebar-user small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 10px;
}

@media (max-width: 760px) {
  .account-grid, .security-grid {
    grid-template-columns: 1fr;
  }

  .security-card:last-child {
    grid-column: auto;
  }

  .twofa-line {
    grid-template-columns: 1fr;
  }
}

.jobs-list {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.jobs-list .job-card {
  width: 100%;
  display: block;
}

.finance-wide {
  max-width: none;
}

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

.finance-action {
  align-items: center;
  gap: 16px;
  display: flex;
}

.finance-action span {
  color: var(--muted);
  flex: 1;
}

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

.kyc-intro {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  margin-bottom: 18px;
  padding: 22px;
}

.kyc-section {
  border-top: 1px solid #eef0f3;
  padding: 22px 0;
}

.kyc-section h3 {
  margin: 0 0 14px;
}

.upload-card {
  background: #fafafa;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  display: flex;
}

.upload-card input {
  padding: 8px 0;
}

.modal-backdrop {
  z-index: 100;
  background: #0f172a6b;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  width: min(760px, 100%);
  max-height: 90vh;
  padding: 24px;
  overflow: auto;
  box-shadow: 0 30px 80px #00000040;
}

.contract-terms-preview {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  margin: 16px 0;
  padding: 16px;
}

.sidebar-signal-dot {
  background: #22c55e;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  display: inline-block;
}

.sidebar-signal-dot.status-muted {
  background: #94a3b8;
}

.utility-tool {
  max-width: 900px;
}

.copy-field {
  align-items: center;
  display: flex;
}

.copy-field input {
  flex: 1;
}

.copy-btn {
  cursor: pointer;
  background: #fff;
  border: 1px solid #d7dce2;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  min-width: 46px;
  height: 42px;
}

.security-options button {
  position: relative;
}

.security-options em {
  color: #b45309;
  margin-top: 4px;
  font-size: 12px;
  font-style: normal;
  display: block;
}

@media (max-width: 900px) {
  .account-settings-grid, .finance-actions {
    grid-template-columns: 1fr;
  }
}

.finance-wide {
  width: 100% !important;
}

.finance-wide .finance-step {
  grid-template-columns: 1fr;
}

.finance-wide .finance-step > span {
  display: none;
}

.finance-wide .field {
  min-width: 0;
}

.finance-wide .row {
  align-items: start;
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/