body {
  background: #f7f8f2;
}
.header {
  background: #fdfdf9;
  height: 84px;
  padding: 0 3.5%;
}
.workspace-label {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
  margin-right: 35px;
}
#account-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}
.mode-banner {
  background: #f8ecdb;
  color: #785229;
  padding: 10px 4%;
  text-align: center;
  font-size: 11px;
}
.app-layout {
  display: flex;
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 122px);
}
aside {
  width: 230px;
  flex-shrink: 0;
  padding: 38px 22px;
  border-right: 1px solid var(--line);
  background: #fafbf6;
}
.sidebar-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  padding-left: 14px;
  margin-bottom: 20px;
}
aside nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
aside nav a {
  display: flex;
  gap: 13px;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 16px;
  color: var(--muted);
}
aside nav a span {
  font-size: 13px;
}
aside nav a.current {
  background: #e9eddf;
  color: #344c32;
  font-weight: 700;
}
aside nav a:hover {
  background: #edf0e6;
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 9px;
  margin-top: 55px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.sidebar-bottom .green-dot {
  display: inline-block;
  margin-right: 5px;
}
.sidebar-bottom a {
  display: block;
  color: var(--green);
  margin-top: 12px;
}
.workspace-content {
  max-width: none;
  width: 100%;
  padding: 43px 4%;
  min-width: 0;
}
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 29px;
}
.page-top .eyebrow {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 9px;
}
.page-top h1 {
  font-size: 35px;
  margin: 0;
  letter-spacing: -1.5px;
}
.page-top p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 11px;
  line-height: 1.7;
}
.page-top .primary {
  white-space: nowrap;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 22px;
}
.panel h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.panel h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.panel p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 18px;
}
.panel-header h2 {
  margin: 0;
}
.panel-header a {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 28px;
}
.stat {
  background: white;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 13px;
}
.stat .stat-label {
  font-size: 11px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-family: "Manrope";
  font-size: 31px;
  font-weight: 650;
  margin: 12px 0 3px;
}
.stat small {
  font-size: 10px;
  color: var(--muted);
}
.welcome-card {
  background: #eaf0df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px;
  border-radius: 15px;
  margin-bottom: 28px;
}
.welcome-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.welcome-card p {
  font-size: 13px;
  color: #627056;
  line-height: 1.7;
}
.welcome-card .secondary {
  white-space: nowrap;
  background: #fff9;
  border-color: #cdd6c0;
}
.task-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.task-row:first-child {
  border-top: 0;
}
.task-row h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.task-row p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.task-row a:hover {
  color: var(--accent);
}
.money {
  text-align: right;
  min-width: 65px;
  font-weight: 700;
  font-size: 15px;
}
.money small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 6px;
}
.badge {
  border-radius: 20px;
  background: #edf0e6;
  color: #516044;
  padding: 6px 10px;
  display: inline-block;
  font-size: 10px;
  white-space: nowrap;
  text-transform: capitalize;
}
.badge.submitted,
.badge.revision_requested {
  background: #faf0d9;
  color: #815d1f;
}
.badge.completed {
  background: #e3eee0;
  color: #396136;
}
.badge.cancelled,
.badge.disputed {
  background: #fbe8e1;
  color: #9a412a;
}
.badge.open {
  background: #e8eff3;
  color: #446271;
}
.empty-state {
  text-align: center;
  padding: 45px 20px;
}
.empty-state .empty-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #edf0e4;
  border-radius: 18px;
  font-size: 25px;
  margin: 0 auto 20px;
  color: #6b7c55;
}
.empty-state h2 {
  font-size: 22px;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 12px auto 20px;
  max-width: 380px;
}
.text-link {
  color: var(--green);
  font-weight: 650;
  font-size: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 20px;
}
.field label,
.field-label {
  font-size: 12px;
  font-weight: 650;
  display: block;
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #d5d9cc;
  border-radius: 9px;
  padding: 12px 13px;
  min-height: 45px;
  background: #fff;
  color: var(--ink);
  font:
    14px "DM Sans",
    sans-serif;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}
.field small {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 7px;
}
.field input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin: 0;
}
.checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 12px;
}
.checkbox input {
  width: 18px;
  height: 18px;
}
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.form-actions p {
  font-size: 11px;
}
.form-error {
  padding: 12px 15px;
  background: #fff0e8;
  color: #9a402b;
  font-size: 12px;
  border-radius: 9px;
  margin: 15px 0;
  line-height: 1.6;
}
.auth-wrap {
  max-width: 470px;
  margin: 25px auto;
}
.auth-wrap .eyebrow {
  color: var(--accent);
  margin-bottom: 20px;
}
.auth-wrap h1 {
  font-size: 36px;
  margin: 0 0 15px;
  letter-spacing: -1.5px;
}
.auth-wrap > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 30px;
}
.auth-wrap .panel {
  padding: 30px;
}
.auth-wrap .primary {
  width: 100%;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  gap: 15px;
  font-size: 12px;
}
.auth-links a {
  color: var(--green);
}
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr);
  gap: 23px;
}
.detail-lead {
  font-size: 14px !important;
  white-space: pre-wrap;
}
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.meta-grid dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}
.meta-grid dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.criteria {
  padding: 0;
  list-style: none;
}
.criteria li {
  font-size: 13px;
  line-height: 1.7;
  padding: 10px 0 10px 25px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.criteria li:before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--green);
}
.criteria li:last-child {
  border: 0;
}
.private-note {
  padding: 16px;
  border-radius: 10px;
  background: #f3f5ed;
  margin-top: 22px;
}
.private-note strong {
  font-size: 11px;
}
.private-note p {
  font-size: 12px;
  margin-top: 7px;
  white-space: pre-wrap;
}
.offer-card {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.offer-card:first-of-type {
  border-top: 0;
}
.offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.offer-card .primary {
  padding: 10px 18px;
  font-size: 11px;
  min-height: 40px;
  margin-top: 15px;
}
.offer-card p {
  white-space: pre-wrap;
}
.helper-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
}
.helper-name .avatar {
  width: 37px;
  height: 37px;
  font-size: 16px;
}
.action-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.action-stack .primary,
.action-stack .secondary {
  width: 100%;
  font-size: 12px;
}
.action-stack p {
  font-size: 11px;
}
.danger {
  color: #a34931;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 19px 20px;
  border-left: 1px solid #dce2d0;
  margin-left: 4px;
}
.timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.timeline li:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #99aa7f;
  border: 3px solid white;
  border-radius: 50%;
  position: absolute;
  left: -7px;
  top: 1px;
}
.timeline strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  text-transform: capitalize;
}
.timeline time {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.timeline p {
  font-size: 11px;
  margin-top: 6px;
}
.message {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.message:first-child {
  border-top: 0;
}
.message-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 7px;
}
.message-meta strong {
  color: var(--ink);
}
.message p {
  white-space: pre-wrap;
  font-size: 12px;
}
.message-form {
  margin-top: 20px;
}
.message-form textarea {
  min-height: 75px;
}
.notice {
  background: #f9edda;
  border: 1px solid #ecdcbe;
  border-radius: 10px;
  padding: 15px;
  font-size: 12px;
  line-height: 1.8;
  color: #785a2e;
  margin-bottom: 20px;
}
.result-item {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.result-item strong {
  font-size: 12px;
}
.result-item p {
  font-size: 12px;
  white-space: pre-wrap;
}
.evidence-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0;
  font-size: 12px;
  gap: 10px;
}
.evidence-link span {
  overflow-wrap: anywhere;
}
.evidence-link small {
  font-size: 10px;
  color: var(--muted);
}
.helper-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.helper-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
}
.helper-card .helper-name {
  margin-bottom: 16px;
}
.helper-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 12px 0;
}
.helper-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 15px 0;
}
.helper-card .chips span {
  font-size: 9px;
  background: #f1f3eb;
  padding: 6px 8px;
  border-radius: 7px;
}
.helper-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 15px;
  font-size: 12px;
}
.filter-row {
  display: flex;
  gap: 13px;
  align-items: end;
  margin-bottom: 24px;
}
.filter-row .field {
  margin: 0;
  flex: 1;
}
.filter-row button {
  margin-bottom: 1px;
}
.code-block {
  background: #26352d;
  color: #dfeddb;
  border-radius: 12px;
  padding: 20px;
  font:
    12px/1.8 ui-monospace,
    monospace;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 18px 0;
}
.key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.key-row h3 {
  font-size: 13px;
}
.key-row p {
  font-size: 11px;
}
.key-row code {
  font-size: 11px;
}
.key-row .secondary {
  padding: 10px 17px;
  font-size: 11px;
}
.large-secret {
  user-select: all;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.activity-row {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
.activity-row p {
  font-size: 11px;
}
.activity-row time {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.button-link {
  border: 0;
  background: none;
  font-size: 12px;
  padding: 8px;
  color: var(--green);
  cursor: pointer;
}
.payment-label {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0;
}
.status-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.status-step {
  flex: 1;
  font-size: 9px;
  color: var(--muted);
  padding-top: 9px;
  border-top: 3px solid #e1e5d9;
}
.status-step.done {
  border-color: #6a8450;
  color: #456138;
}
.status-step.active {
  border-color: var(--accent);
  color: var(--accent);
}
#workspace-modal {
  width: min(620px, calc(100% - 28px));
}
#workspace-modal h2 {
  margin-bottom: 15px;
}
#workspace-modal p {
  margin-bottom: 20px;
}
@media (max-width: 1100px) {
  aside {
    width: 195px;
    padding: 30px 13px;
  }
  .workspace-content {
    padding: 35px 3%;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .workspace-label {
    display: none;
  }
  .helper-grid {
    gap: 15px;
  }
  .page-top h1 {
    font-size: 30px;
  }
}
@media (max-width: 760px) {
  .header {
    height: 75px;
    padding: 0 5%;
  }
  #account-nav {
    gap: 8px;
  }
  #account-nav > span {
    display: none;
  }
  .mode-banner {
    font-size: 10px;
    padding: 8px 15px;
  }
  .app-layout {
    display: block;
  }
  aside {
    width: 100%;
    padding: 10px 15px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  aside nav {
    flex-direction: row;
    overflow: auto;
    gap: 5px;
  }
  aside nav a {
    padding: 12px;
    font-size: 14px;
    white-space: nowrap;
    gap: 7px;
  }
  aside nav a span {
    font-size: 11px;
  }
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }
  .workspace-content {
    padding: 28px 5%;
  }
  .page-top {
    align-items: start;
    gap: 15px;
    flex-wrap: wrap;
  }
  .page-top h1 {
    font-size: 29px;
  }
  .page-top .primary {
    font-size: 11px;
    padding: 12px 18px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .stat strong {
    font-size: 29px;
  }
  .welcome-card {
    display: block;
    padding: 22px;
  }
  .welcome-card h2 {
    font-size: 22px;
  }
  .welcome-card .secondary {
    margin-top: 17px;
    display: inline-block;
  }
  .panel {
    padding: 20px;
  }
  .task-row {
    gap: 12px;
    grid-template-columns: 1fr auto;
  }
  .task-row .badge {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .task-row .money {
    grid-column: 2;
    grid-row: 1;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .helper-grid {
    grid-template-columns: 1fr;
  }
  .filter-row {
    flex-wrap: wrap;
  }
  .filter-row .field {
    min-width: 130px;
  }
  .filter-row button {
    width: 100%;
  }
  .two-columns {
    gap: 0;
  }
  .meta-grid {
    gap: 20px;
  }
  .auth-wrap {
    margin: 0 auto;
  }
  .auth-wrap .panel {
    padding: 22px;
  }
  .auth-wrap h1 {
    font-size: 31px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  .check-grid {
    grid-template-columns: 1fr;
  }
  .activity-row {
    flex-direction: column;
    gap: 8px;
  }
  .key-row {
    align-items: start;
  }
  .status-step {
    font-size: 8px;
  }
  .workspace-content .eyebrow {
    font-size: 9px;
  }
  .panel-header {
    align-items: start;
  }
  .panel-header h2 {
    font-size: 18px;
  }
  #workspace-modal {
    padding: 30px 22px;
  }
}
.spaced {
  margin-top: 26px;
}
.action-stack {
  margin-top: 26px;
}
#evidence-form {
  margin-top: 22px;
}
#verify-email {
  margin-top: 15px;
}
