:root {
  --ink: #171714;
  --ink-soft: #34342f;
  --paper: #f4f4f0;
  --surface: #ffffff;
  --surface-warm: #fff7e8;
  --muted: #65645f;
  --line: #dedbd2;
  --line-dark: #34342e;
  --blue: #1c528f;
  --orange: #de7030;
  --brand-red: #ef341a;
  --brand-orange: var(--orange);
  --brand-gold: #f9c929;
  --success: #177354;
  --shadow-soft: 0 18px 50px rgba(37, 30, 20, 0.08);
  --page-width: 1240px;
  --header-height: 72px;
  color: var(--ink);
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.65rem 1rem;
  text-align: center;
  background: color-mix(in srgb, var(--orange) 12%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--orange) 28%, white);
  color: var(--blue);
}

.demo-banner p {
  margin: 0;
  font-size: 0.875rem;
}

body:has(.demo-banner:not([hidden])) .site-header {
  top: 0;
}

.desktop-nav a[href="../index.html"] {
  color: var(--blue);
  font-weight: 600;
}

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

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

button,
select {
  cursor: pointer;
}

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

img,
svg {
  display: block;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(239, 52, 26, 0.42);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 10px;
  z-index: 1000;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(23, 23, 20, 0.12);
  background: rgba(255, 254, 250, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 64px, var(--page-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 23, 20, 0.08);
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-divider {
  width: 1px;
  height: 16px;
  margin-left: 2px;
  background: var(--line);
}

.brand-section {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 34px;
  margin-left: auto;
  margin-right: 46px;
}

.desktop-nav a {
  position: relative;
  display: grid;
  align-items: center;
  color: #56564f;
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a.is-active::after {
  background: var(--brand-red);
}

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

.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: #2b2b26;
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
}

.button-ghost:hover {
  border-color: #aaa79d;
  background: rgba(255, 255, 255, 0.5);
}

.button-brand {
  background: var(--brand-red);
  color: white;
}

.button-brand:hover {
  background: #da2c14;
}

.task-radar {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.5), transparent 47%),
    linear-gradient(115deg, #fff0e6 0%, #ffdfaa 58%, #ffef9c 100%);
}

.task-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(23, 23, 20, 0.16) 0.8px, transparent 0.8px);
  background-size: 8px 8px;
  mask-image: linear-gradient(90deg, black, transparent 63%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, var(--page-width));
  min-height: 580px;
  margin: 0 auto;
  padding: 72px 0 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-copy {
  width: min(650px, 58vw);
  animation: hero-in 680ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #686860;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-label {
  color: #686760;
  font-size: 12px;
  font-weight: 750;
}

.section-label.light {
  color: #aaa99f;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgba(239, 52, 26, 0.12);
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(52px, 6.3vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-description {
  max-width: 530px;
  margin-top: 24px;
  color: #47473f;
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.hero-actions .button {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
}

.hero-browse {
  border-color: rgba(23, 23, 20, 0.18);
  background: rgba(255, 254, 250, 0.72);
}

.search-box {
  width: min(620px, 100%);
  min-height: 68px;
  margin-top: 30px;
  padding: 7px 7px 7px 20px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(23, 23, 20, 0.18);
  border-radius: 12px;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 18px 45px rgba(88, 58, 20, 0.13);
}

.search-box:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 18px 45px rgba(88, 58, 20, 0.13), 0 0 0 4px rgba(239, 52, 26, 0.09);
}

.search-box svg {
  width: 23px;
  fill: none;
  stroke: #56564f;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}

.search-box input::placeholder {
  color: #99968d;
}

.search-box button {
  height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  background: var(--brand-red);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.search-box button:hover {
  background: #dc2c14;
}

.popular-searches {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
  color: #737168;
  font-size: 12px;
}

.popular-searches button {
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid rgba(23, 23, 20, 0.24);
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #42423d;
}

.popular-searches button:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.radar-orbits {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(-2vw, calc((100vw - var(--page-width)) / 2 - 100px));
  width: min(47vw, 650px);
  aspect-ratio: 1;
  transform: translateY(-51%);
  animation: radar-in 900ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.radar-orbits::after {
  content: "";
  position: absolute;
  inset: 1%;
  border-radius: 50%;
  background: conic-gradient(from 190deg, transparent 0 42%, rgba(255, 255, 255, 0.47) 50%, transparent 61% 100%);
  animation: radar-sweep 13s linear infinite;
}

.radar-orbits img {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(112, 58, 8, 0.22);
  transform: translate(-50%, -50%);
}

.orbit,
.orbit-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(218, 68, 18, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one { width: 36%; background: rgba(255, 93, 23, 0.16); }
.orbit-two { width: 56%; background: rgba(255, 123, 22, 0.1); }
.orbit-three { width: 76%; background: rgba(255, 173, 26, 0.08); }
.orbit-four { width: 96%; border-color: rgba(205, 73, 10, 0.15); }
.orbit-pulse {
  width: 56%;
  border-color: rgba(239, 52, 26, 0.5);
  animation: orbit-pulse 3.8s ease-out infinite;
}

.hero-note {
  width: min(100%, 620px);
  min-height: 66px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(23, 23, 20, 0.2);
  animation: hero-in 680ms 140ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-note-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.hero-note strong {
  font-size: 14px;
}

.hero-note p {
  color: #66645c;
  font-size: 12px;
}

.hero-note a {
  min-height: 44px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
}

.hero-note a:hover {
  color: var(--brand-red);
}

.market {
  width: min(100% - 64px, var(--page-width));
  margin: 0 auto;
  padding: 82px 0 110px;
}

.market-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.market-heading h2 {
  margin-top: 10px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
}

.result-count strong {
  color: var(--ink);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.category-bar {
  margin-top: 36px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.category-scroll {
  min-width: 0;
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-button {
  position: relative;
  min-width: max-content;
  min-height: 44px;
  border: 0;
  padding: 0 16px;
  background: transparent;
  color: #686760;
  font-size: 13px;
  font-weight: 650;
}

.category-button:first-child {
  padding-left: 0;
  padding-right: 22px;
}

.category-button:hover,
.category-button.is-active {
  color: var(--ink);
}

.category-button.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: var(--brand-red);
}

.category-button:first-child.is-active::after {
  left: 0;
  right: 22px;
}

.sort-control {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a887f;
  font-size: 12px;
}

.sort-control select {
  min-height: 44px;
  border: 0;
  padding: 8px 24px 8px 4px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.market-layout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 52px;
  align-items: start;
}

.feed-labels {
  display: grid;
  grid-template-columns: 1fr 150px;
  padding: 0 18px 11px 0;
  color: #9b988e;
  font-size: 10px;
  letter-spacing: 0.13em;
}

.feed-labels span:last-child {
  text-align: right;
}

.task-list {
  border-top: 1px solid var(--line);
}

.task-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 32px;
  padding: 26px 18px 26px 0;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 180ms ease,
    padding-left 180ms ease,
    padding-right 180ms ease;
  animation: row-in 420ms both;
}

.task-row:hover {
  margin-left: -18px;
  margin-right: -18px;
  padding-left: 18px;
  padding-right: 36px;
  background: var(--surface);
}

.task-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.task-category {
  color: var(--brand-red);
}

.task-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aaa79e;
}

.platform-badge,
.featured-badge,
.deposit-badge {
  border: 1px solid rgba(239, 52, 26, 0.2);
  border-radius: 100px;
  padding: 2px 7px;
  background: #fff2ec;
  color: #b52e16;
  font-size: 10px;
  line-height: 1.4;
}

.platform-badge {
  border-color: rgba(23, 115, 84, 0.22);
  background: #eaf7f1;
  color: var(--success);
}

.deposit-badge {
  border-color: rgba(23, 115, 84, 0.22);
  background: #eaf7f1;
  color: var(--success);
}

.task-title-line {
  margin-top: 9px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.task-title-button {
  border: 0;
  min-height: 44px;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  background: transparent;
  text-align: left;
}

.task-title-line h3 {
  margin: 0;
}

.task-title-button {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.task-title-button:hover {
  color: var(--brand-red);
}

.save-task {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: #85837a;
}

.save-task:hover {
  background: var(--paper);
  color: var(--brand-red);
}

.save-task svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.save-task.is-saved svg {
  fill: var(--brand-red);
  stroke: var(--brand-red);
}

.task-summary {
  max-width: 650px;
  margin-top: 8px;
  color: #66645e;
  font-size: 13px;
  line-height: 1.75;
}

.task-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  border-radius: 5px;
  padding: 4px 8px;
  background: #ece9e1;
  color: #65635c;
  font-size: 10px;
  font-weight: 650;
}

.client-line {
  width: 100%;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #86847b;
  font-size: 11px;
}

.verified-mark {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 9px;
  line-height: 1;
}

.task-aside {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  text-align: right;
}

.task-budget strong {
  display: block;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.task-budget span,
.task-response {
  color: #8c897f;
  font-size: 11px;
}

.task-response {
  line-height: 1.8;
}

.task-response strong {
  color: #4a4943;
  font-weight: 700;
}

.empty-state {
  padding: 76px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.empty-state-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid #d7d2c6;
  border-radius: 50%;
  color: var(--brand-red);
  font-size: 26px;
}

.empty-state h3 {
  font-size: 20px;
}

.empty-state p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state button {
  margin-top: 18px;
}

.market-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 18px;
}

.membership-panel {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  padding: 28px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-soft);
}

.membership-panel::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -88px;
  width: 230px;
  height: 230px;
  border: 36px solid rgba(255, 137, 18, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(255, 73, 17, 0.06),
    0 0 0 58px rgba(255, 203, 41, 0.03);
}

.membership-head,
.community-list,
.membership-lead,
.membership-action {
  position: relative;
  z-index: 1;
}

.membership-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.membership-head h2 {
  margin-top: 6px;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.pass-chip {
  border: 1px solid #4b4a44;
  border-radius: 100px;
  padding: 5px 9px;
  color: #c6c3b8;
  font-size: 10px;
}

.membership-lead {
  margin-top: 18px;
  color: #bab8b0;
  font-size: 13px;
  line-height: 1.8;
}

.community-list {
  margin-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.community-item {
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line-dark);
}

.community-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #55534c;
  border-radius: 50%;
  color: #f2c43b;
  font-size: 11px;
  font-weight: 800;
}

.community-item div {
  display: grid;
}

.community-item strong {
  font-size: 12px;
}

.community-item small {
  color: #8f8d85;
  font-size: 10px;
}

.button-light {
  width: 100%;
  margin-top: 22px;
  background: white;
  color: var(--ink);
}

.button-light span {
  margin-left: auto;
}

.button-light:hover {
  background: #fff3d4;
}

.publish-panel {
  border: 1px solid #ead8bb;
  border-radius: 14px;
  padding: 26px;
  background: var(--surface-warm);
}

.publish-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red);
  color: white;
}

.publish-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.publish-panel h2 {
  margin-top: 6px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.publish-panel > div > p:last-child {
  margin-top: 8px;
  color: #69665f;
  font-size: 12px;
  line-height: 1.75;
}

.deposit-note {
  margin-top: 20px;
  padding: 13px;
  display: flex;
  gap: 10px;
  border: 1px solid #efd7ad;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.deposit-note > span {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2d2d28;
  color: white;
  font-size: 9px;
}

.deposit-note p {
  color: #6a6258;
  font-size: 11px;
  line-height: 1.55;
}

.deposit-note strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
}

.text-action {
  width: 100%;
  min-height: 44px;
  margin-top: 17px;
  padding: 13px 0 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid #ddc9aa;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.text-action:hover {
  color: var(--brand-red);
}

.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 5px 4px;
  color: #817f76;
  font-size: 10px;
  line-height: 1.8;
}

.trust-note strong {
  color: #51504a;
  font-size: 11px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  flex: 0 0 auto;
  border: 2px solid var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(23, 115, 84, 0.08);
}

.site-footer {
  min-height: 180px;
  padding: 40px max(32px, calc((100vw - var(--page-width)) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background: #21211e;
  color: white;
}

.footer-brand img {
  border-color: #4a4a43;
}

.site-footer > div > p {
  margin-top: 10px;
  color: #a7a59d;
  font-size: 12px;
}

.site-footer > p {
  color: #77766f;
  font-size: 11px;
}

.sheet-dialog {
  position: relative;
  z-index: 120;
  width: min(100% - 36px, 720px);
  max-width: none;
  max-height: min(860px, calc(100dvh - 40px));
  margin: auto;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    overlay 220ms allow-discrete,
    display 220ms allow-discrete;
}

.sheet-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

@starting-style {
  .sheet-dialog[open] {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
  }
}

.sheet-dialog::backdrop {
  background: rgba(16, 16, 14, 0.62);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  position: relative;
  max-height: min(860px, calc(100dvh - 40px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 42px;
  background: var(--surface);
  scrollbar-gutter: stable;
}

.dialog-close {
  position: sticky;
  z-index: 8;
  top: 12px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: -28px -28px -16px auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: #595851;
  box-shadow: 0 6px 18px rgba(31, 30, 26, 0.1);
  font-size: 24px;
  line-height: 1;
}

.dialog-close:hover {
  border-color: #aaa69c;
  color: var(--ink);
}

.dialog-heading h2,
.task-detail h2 {
  margin-top: 10px;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.dialog-heading {
  padding-right: 48px;
}

.dialog-heading > p:last-child {
  max-width: 510px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.publisher-status {
  margin-top: 28px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #efd4a6;
  border-radius: 10px;
  background: #fff6df;
}

.publisher-status-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-red);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.publisher-status p {
  display: grid;
}

.publisher-status strong {
  font-size: 12px;
}

.publisher-status small {
  color: #756a5c;
  font-size: 10px;
}

.form-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  font-size: 12px;
  font-weight: 700;
}

.field-wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 12px 13px;
  background: white;
  font-size: 13px;
  resize: vertical;
}

.field input,
.field select {
  height: 45px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(239, 52, 26, 0.08);
}

.money-input {
  position: relative;
}

.money-input > span {
  position: absolute;
  z-index: 1;
  left: 13px;
  top: 50%;
  color: #88857c;
  font-size: 12px;
  transform: translateY(-50%);
}

.money-input input {
  padding-left: 30px;
}

.requirement-message {
  margin-top: 18px;
  padding: 13px 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #ead6b9;
  border-radius: 8px;
  background: #faf1e5;
  color: #655e53;
  font-size: 11px;
}

.requirement-message p {
  margin: 0;
}

.requirement-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.requirement-message strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 12px;
}

.form-actions {
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
}

.task-detail-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 42px;
  color: var(--muted);
  font-size: 11px;
}

.detail-budget {
  margin-top: 28px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-budget div {
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.detail-budget div:first-child {
  padding-left: 0;
}

.detail-budget div:last-child {
  border-right: 0;
}

.detail-budget small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.detail-budget strong {
  font-size: 16px;
}

.detail-section {
  margin-top: 27px;
}

.detail-section h3 {
  font-size: 13px;
}

.detail-section p {
  margin-top: 8px;
  color: #5f5e57;
  font-size: 13px;
  line-height: 1.85;
}

.detail-skills {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-client {
  margin-top: 28px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-radius: 10px;
  background: var(--paper);
}

.detail-client p {
  font-size: 12px;
}

.detail-client small {
  color: var(--muted);
  font-size: 10px;
}

.detail-actions {
  margin-top: 26px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toast {
  position: fixed;
  z-index: 100;
  top: auto;
  right: auto;
  left: 50%;
  bottom: 28px;
  max-width: min(90vw, 480px);
  margin: 0;
  border: 0;
  border-radius: 9px;
  padding: 12px 17px;
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible,
.toast:popover-open {
  opacity: 1;
  transform: translate(-50%, 0);
}

.button:disabled,
.button[aria-busy="true"] {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.account-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px 11px 4px 5px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease;
}

.account-button:hover {
  border-color: #aaa79d;
  background: #f9f9f6;
}

.account-avatar {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.account-copy {
  display: grid;
  line-height: 1.3;
}

.account-copy strong {
  max-width: 92px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy small {
  color: var(--muted);
  font-size: 9px;
}

.unverified-mark {
  border: 1px solid #c7c4ba;
  border-radius: 4px;
  padding: 1px 4px;
  color: #77756d;
  font-size: 9px;
}

.field-error {
  min-height: 1em;
  color: #b92d19;
  font-size: 10px;
  line-height: 1.3;
}

.field [aria-invalid="true"] {
  border-color: #ca3c26;
  background: #fff9f7;
}

.days-input {
  position: relative;
}

.days-input span {
  position: absolute;
  right: 13px;
  top: 50%;
  color: var(--muted);
  font-size: 11px;
  transform: translateY(-50%);
}

.days-input input {
  padding-right: 36px;
}

.login-dialog {
  width: min(100% - 36px, 660px);
}

.login-shell {
  padding-bottom: 34px;
}

.login-form {
  margin-top: 26px;
}

.role-options {
  margin: 0;
  border: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.role-option {
  position: relative;
  min-height: 152px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: white;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.role-option:hover {
  border-color: #b1aea5;
  transform: translateY(-1px);
}

.role-option:has(input:checked) {
  border-color: var(--brand-red);
  background: #fff6f1;
  box-shadow: inset 0 0 0 1px var(--brand-red);
}

.role-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.role-option:has(input:focus-visible) {
  outline: 3px solid rgba(239, 52, 26, 0.35);
  outline-offset: 2px;
}

.role-option-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #efede7;
  color: #4f4e48;
  font-size: 11px;
  font-weight: 800;
}

.role-option:has(input:checked) .role-option-mark {
  background: var(--brand-red);
  color: white;
}

.role-option > span:last-child {
  display: grid;
  gap: 5px;
}

.role-option strong {
  font-size: 13px;
}

.role-option small {
  color: #686760;
  font-size: 10px;
  line-height: 1.6;
}

.demo-disclaimer {
  margin-top: 15px;
  border: 1px solid #ddd9ce;
  border-radius: 9px;
  padding: 12px 14px;
  display: grid;
  background: #f5f4f0;
  color: #65635c;
  font-size: 10px;
}

.demo-disclaimer strong {
  color: var(--ink);
  font-size: 11px;
}

.login-submit {
  width: 100%;
  margin-top: 16px;
}

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

.pass-proof {
  margin-top: 18px;
  border: 1px solid #d8e6df;
  border-radius: 9px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f8f4;
}

.pass-proof > span {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.pass-proof p {
  display: grid;
}

.pass-proof strong {
  font-size: 11px;
}

.pass-proof small {
  color: #587266;
  font-size: 9px;
}

.workspace-dialog {
  width: min(calc(100% - 32px), 1220px);
  height: min(calc(100dvh - 32px), 840px);
  max-width: none;
  max-height: none;
  margin: auto;
  overflow: hidden;
  border: 0;
  border-radius: 17px;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px) scale(0.988);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    overlay 220ms allow-discrete,
    display 220ms allow-discrete;
}

.workspace-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .workspace-dialog[open] {
    opacity: 0;
    transform: translateY(18px) scale(0.988);
  }
}

.workspace-dialog::backdrop {
  background: rgba(16, 16, 14, 0.7);
  backdrop-filter: blur(5px);
}

.workspace-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.workspace-rail {
  position: relative;
  padding: 26px 20px 20px;
  display: flex;
  flex-direction: column;
  background: #20201d;
  color: white;
}

.workspace-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace-brand img {
  width: 36px;
  height: 36px;
  border: 2px solid #373631;
  border-radius: 50%;
  object-fit: cover;
}

.workspace-brand div,
.workspace-user p {
  display: grid;
}

.workspace-brand strong {
  font-size: 13px;
}

.workspace-brand small,
.workspace-user small {
  color: #8f8d85;
  font-size: 9px;
}

.workspace-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #31312d;
  color: #b5b3ab;
  font-size: 20px;
  line-height: 1;
}

.workspace-close:hover {
  background: #3a3935;
  color: white;
}

.workspace-user {
  margin-top: 28px;
  border-top: 1px solid #383833;
  border-bottom: 1px solid #383833;
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.workspace-user > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-red), var(--brand-gold));
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.workspace-user strong {
  font-size: 12px;
}

.role-switcher {
  margin-top: 25px;
}

.role-switcher > p {
  margin-bottom: 8px;
  color: #74736c;
  font-size: 9px;
}

.role-switcher button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #a9a79f;
  font-size: 11px;
  text-align: left;
}

.role-switcher button:hover {
  background: #2a2a26;
  color: white;
}

.role-switcher button.is-active {
  background: #35342f;
  color: white;
}

.role-switcher button span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #4e4d47;
  border-radius: 50%;
  color: #e0b633;
  font-size: 9px;
}

.role-switcher button.is-active span {
  border-color: var(--brand-red);
  background: var(--brand-red);
  color: white;
}

.reset-demo {
  margin-top: auto;
  min-height: 44px;
  border: 0;
  border-top: 1px solid #383833;
  padding: 15px 0 0;
  background: transparent;
  color: #8b8981;
  font-size: 10px;
  text-align: left;
}

.reset-demo:hover {
  color: #f0a08f;
}

.workspace-main {
  min-width: 0;
  overflow-y: auto;
  background: var(--surface);
}

.workspace-header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 132px;
  padding: 28px 40px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.workspace-header h2 {
  margin-top: 4px;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.workspace-header > div > p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.workspace-content {
  padding: 28px 40px 50px;
}

.pass-status-panel {
  border: 1px solid #d7e4dc;
  border-radius: 11px;
  padding: 17px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  background: #f2f8f4;
}

.pass-status-mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.pass-status-panel div {
  display: grid;
}

.pass-status-panel small,
.pass-status-panel p {
  color: #627168;
  font-size: 9px;
}

.pass-status-panel strong {
  font-size: 13px;
}

.status-chip {
  min-width: max-content;
  border: 1px solid #d8d5cc;
  border-radius: 100px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  background: #f1f0ec;
  color: #67665f;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
}

.status-chip[data-tone="warning"] {
  border-color: #e8cf98;
  background: #fff5dc;
  color: #795816;
}

.status-chip[data-tone="success"] {
  border-color: #bcdccb;
  background: #edf8f2;
  color: var(--success);
}

.status-chip[data-tone="danger"] {
  border-color: #efc2b8;
  background: #fff0ec;
  color: #a9301c;
}

.status-chip[data-tone="info"] {
  border-color: #bfd3e8;
  background: #eef5fb;
  color: #35688e;
}

.workspace-section + .workspace-section,
.activity-log {
  margin-top: 34px;
}

.workspace-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.workspace-section-heading h3,
.activity-log h3 {
  font-size: 14px;
}

.workspace-section-heading span {
  color: var(--muted);
  font-size: 10px;
}

.workspace-task {
  margin-top: 13px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.workspace-task + .workspace-task {
  margin-top: 0;
  border-top: 0;
}

.workspace-task-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.workspace-task-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.workspace-task h3 {
  margin-top: 9px;
  font-size: 17px;
  letter-spacing: -0.025em;
}

.workspace-task-head > div > p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: #5d5c56;
}

.icon-button:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.task-flow {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
}

.task-flow li {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 5px;
  color: #9a988f;
}

.task-flow li::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 24px;
  right: 5px;
  top: 10px;
  height: 1px;
  background: #dedbd2;
}

.task-flow li:last-child::after {
  display: none;
}

.task-flow li > span {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #d1cec4;
  border-radius: 50%;
  background: white;
  font-size: 8px;
  font-weight: 800;
}

.task-flow li.is-done,
.task-flow li.is-current {
  color: var(--ink);
}

.task-flow li.is-done > span {
  border-color: var(--success);
  background: var(--success);
  color: white;
}

.task-flow li.is-done::after {
  background: #9fc9b7;
}

.task-flow li.is-current > span {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 4px rgba(239, 52, 26, 0.1);
  color: var(--brand-red);
}

.task-flow small {
  font-size: 8px;
}

.workspace-task-actions {
  margin-top: 20px;
}

.workspace-waiting,
.workspace-alert {
  border: 1px solid #e1ded5;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f6f5f1;
  color: #62615b;
  font-size: 10px;
}

.workspace-alert {
  border-color: #ebc5bd;
  background: #fff2ef;
  color: #8c3121;
}

.workspace-action-row {
  border: 1px solid #e1ded5;
  border-radius: 9px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f7f6f2;
}

.workspace-action-row-alert {
  border-color: #ebc5bd;
  background: #fff2ef;
}

.workspace-action-row-alert p strong,
.workspace-action-row-alert p small {
  color: #8c3121;
}

.workspace-action-row p {
  display: grid;
}

.workspace-action-row strong {
  font-size: 11px;
}

.workspace-action-row small {
  color: var(--muted);
  font-size: 9px;
}

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

.workspace-proposals h4 {
  margin: 0 0 10px;
  font-size: 11px;
}

.workspace-task-metrics {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.candidate-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid #dedbd2;
  margin-bottom: 14px;
}

.candidate-summary > span {
  min-width: 0;
  padding: 12px;
  display: grid;
  gap: 4px;
  border-right: 1px solid #ece9e1;
}

.candidate-summary > span:last-child {
  border-right: 0;
}

.candidate-summary small {
  color: var(--muted);
  font-size: 8px;
}

.candidate-summary strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.candidate-summary.has-selection-error {
  border-color: #d9503e;
  color: #a33225;
  background: #fff4f1;
}

.candidate-toolbar {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.candidate-toolbar p {
  display: grid;
  gap: 3px;
}

.candidate-toolbar p strong {
  font-size: 11px;
}

.candidate-toolbar p small {
  color: var(--muted);
  font-size: 9px;
}

.proposal-card {
  border: 1px solid #dedbd2;
  border-radius: 10px;
  padding: 15px;
  background: white;
}

.proposal-card + .proposal-card {
  margin-top: 9px;
}

.proposal-person {
  display: flex;
  align-items: center;
  gap: 9px;
}

.proposal-person > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 10px;
}

.proposal-person > img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.proposal-person > .status-chip {
  margin-left: auto;
}

.proposal-person p {
  display: grid;
}

.proposal-person strong {
  font-size: 11px;
}

.proposal-person small {
  color: var(--muted);
  font-size: 9px;
}

.proposal-message {
  margin-top: 11px;
  color: #5e5d57;
  font-size: 10px;
  line-height: 1.7;
}

.proposal-terms {
  margin-top: 13px;
  padding-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 24px;
  border-top: 1px solid #ece9e1;
}

.proposal-terms > span {
  display: grid;
}

.proposal-terms small {
  color: var(--muted);
  font-size: 8px;
}

.proposal-terms strong {
  font-size: 12px;
}

.proposal-terms .button,
.proposal-terms .status-chip {
  margin-left: auto;
}

.proposal-card-actions,
.candidate-review-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.proposal-select {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  cursor: pointer;
}

.proposal-select input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.proposal-reason {
  margin-top: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  border-left: 2px solid #d9503e;
  background: #fff4f1;
  color: #6e4038;
  font-size: 9px;
  line-height: 1.6;
}

.proposal-reason small {
  color: var(--muted);
}

.proposal-self-record + .proposal-self-record {
  margin-top: 10px;
}

.proposal-self-record > .button {
  margin-top: 8px;
}

.workspace-empty {
  min-height: 330px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.workspace-empty > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #d4d1c7;
  border-radius: 50%;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 800;
}

.workspace-empty h3 {
  margin-top: 15px;
  font-size: 16px;
}

.workspace-empty p {
  max-width: 310px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.activity-log {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.activity-log ol {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
}

.activity-log li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.activity-log li > span {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border: 2px solid var(--success);
  border-radius: 50%;
}

.activity-log p {
  display: grid;
  gap: 2px;
}

.activity-log strong {
  font-size: 10px;
}

.activity-log small {
  color: var(--muted);
  font-size: 9px;
}

.activity-log .activity-actor {
  color: var(--ink-soft);
  font-weight: 700;
}

.activity-log time {
  color: #929087;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

/* Workspace pages use a restrained ledger language instead of stacked cards. */
.workspace-dialog {
  --workspace-ink: #20211f;
  --workspace-muted: #6b6d69;
  --workspace-faint: #8b8d88;
  --workspace-line: #d9dad6;
  --workspace-line-strong: #a7aaa4;
  --workspace-soft: #f5f6f4;
  --workspace-soft-strong: #eceeea;
  --workspace-accent: #d8422c;
}

.workspace-main,
.workspace-content {
  color: var(--workspace-ink);
}

.workspace-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.workspace-nav {
  min-height: 0;
  margin: 18px -8px 12px;
  padding: 15px 8px 0;
  display: grid;
  gap: 2px;
  overflow-y: auto;
  border-top: 1px solid #383833;
  scrollbar-width: thin;
  scrollbar-color: #55544e transparent;
}

.workspace-nav button {
  position: relative;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  background: transparent;
  color: #aaa8a0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
}

.workspace-nav button::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 13px;
  bottom: 13px;
  width: 2px;
  border-radius: 2px;
  background: transparent;
}

.workspace-nav button:hover {
  background: #2a2a26;
  color: white;
}

.workspace-nav button[aria-current="page"],
.workspace-nav button.is-active {
  background: #33332f;
  color: white;
}

.workspace-nav button[aria-current="page"]::before,
.workspace-nav button.is-active::before {
  background: var(--brand-red);
}

.workspace-rail :focus-visible {
  outline-color: rgba(249, 201, 41, 0.9);
  outline-offset: 1px;
}

.workspace-view-header {
  min-width: 0;
  margin-bottom: 18px;
  padding: 0 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--workspace-line-strong);
}

.workspace-view-header > div {
  min-width: 0;
}

.workspace-view-header h3,
.workspace-view-header h2 {
  font-size: clamp(19px, 2.2vw, 25px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.workspace-view-header p {
  max-width: 600px;
  margin-top: 5px;
  color: var(--workspace-muted);
  font-size: 11px;
  line-height: 1.7;
}

.workspace-view-header .button {
  flex: 0 0 auto;
}

.workspace-record-list {
  min-width: 0;
  border-top: 1px solid var(--workspace-ink);
}

.workspace-record-list > :is(
    .saved-task,
    .deposit-record,
    .activity-record,
    .delivery-card,
    [data-saved-task],
    [data-deposit-record]
  ) {
  margin: 0;
  border-bottom: 1px solid var(--workspace-line);
}

.saved-task,
.deposit-record,
.activity-record {
  min-width: 0;
  padding: 18px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 28px;
  background: transparent;
}

:is(.saved-task, .deposit-record, .activity-record, [data-saved-task], [data-deposit-record])
  > * {
  min-width: 0;
}

:is(.saved-task, .deposit-record, .activity-record, [data-saved-task], [data-deposit-record])
  h3,
:is(.saved-task, .deposit-record, .activity-record, [data-saved-task], [data-deposit-record])
  h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

:is(.saved-task, .deposit-record, .activity-record, [data-saved-task], [data-deposit-record])
  p {
  margin-top: 4px;
  color: var(--workspace-muted);
  font-size: 10px;
  line-height: 1.7;
}

:is(.saved-task, .deposit-record, .activity-record, [data-saved-task], [data-deposit-record])
  small,
:is(.saved-task, .deposit-record, .activity-record, [data-saved-task], [data-deposit-record])
  time {
  color: var(--workspace-faint);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

:is(.saved-task, .deposit-record, [data-saved-task], [data-deposit-record])
  :is(.button, .icon-button) {
  justify-self: end;
}

.saved-task-actions,
.deposit-record-actions,
.record-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.deposit-record {
  grid-template-columns: minmax(0, 1.15fr) minmax(130px, 0.5fr) auto;
}

.deposit-record strong,
[data-deposit-record] strong {
  font-variant-numeric: tabular-nums;
}

.workspace-task[data-saved-task],
.workspace-task[data-deposit-record] {
  padding-block: 18px;
}

.workspace-task[data-saved-task] .workspace-task-head,
.workspace-task[data-deposit-record] .workspace-task-head {
  align-items: center;
}

.workspace-task[data-deposit-record] .workspace-task-head > strong {
  flex: 0 0 auto;
  color: var(--workspace-ink);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.activity-record {
  grid-template-columns: minmax(104px, 0.28fr) minmax(0, 1fr) auto;
  align-items: start;
}

.workspace-record-list:empty {
  display: none;
}

.task-structured-grid {
  min-width: 0;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--workspace-line-strong);
  border-bottom: 1px solid var(--workspace-line);
}

.task-structured-grid > * {
  min-width: 0;
  padding: 17px 20px 18px 0;
  border-bottom: 1px solid var(--workspace-line);
}

.task-structured-grid > :nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--workspace-line);
}

.task-structured-grid > :nth-child(even) {
  padding-left: 24px;
}

.task-structured-grid > :nth-last-child(-n + 2) {
  border-bottom: 0;
}

.task-structured-grid small,
.task-structured-grid dt {
  display: block;
  color: var(--workspace-faint);
  font-size: 9px;
  font-weight: 650;
}

.task-structured-grid strong,
.task-structured-grid dd,
.task-structured-grid p {
  margin: 5px 0 0;
  color: var(--workspace-ink);
  font-size: 11px;
  line-height: 1.75;
}

.delivery-card {
  min-width: 0;
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--workspace-line-strong);
  border-bottom: 1px solid var(--workspace-line);
  background: transparent;
}

.delivery-card + .delivery-card {
  margin-top: 0;
  border-top: 0;
}

.delivery-card h4,
.delivery-card h3 {
  margin: 0;
  font-size: 13px;
}

.delivery-card p {
  margin-top: 8px;
  color: var(--workspace-muted);
  font-size: 10px;
  line-height: 1.75;
}

.delivery-card a {
  min-height: 44px;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  color: #285e88;
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(40, 94, 136, 0.3);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.delivery-card a:hover {
  color: var(--workspace-accent);
  text-decoration-color: currentColor;
}

.delivery-history {
  min-width: 0;
  margin-top: 18px;
  border-top: 1px solid var(--workspace-line-strong);
}

.delivery-version {
  min-width: 0;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--workspace-line);
  border-radius: 0;
  padding: 14px 0;
  display: grid;
  gap: 6px;
  background: transparent;
  color: var(--workspace-ink);
  font-size: 10px;
  font-weight: 400;
}

.delivery-version > p:first-child {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.delivery-version > p:not(:first-child) {
  margin: 0;
  color: var(--workspace-muted);
  line-height: 1.7;
}

.delivery-version strong {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.delivery-version small {
  color: var(--workspace-faint);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.delivery-version > a {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #285e88;
  font-size: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(40, 94, 136, 0.3);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.pass-detail-grid {
  min-width: 0;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--workspace-line-strong);
  border-bottom: 1px solid var(--workspace-line);
}

.pass-detail-grid > * {
  min-width: 0;
  padding: 17px 20px;
  border-right: 1px solid var(--workspace-line);
}

.pass-detail-grid > :first-child {
  padding-left: 0;
}

.pass-detail-grid > :last-child {
  padding-right: 0;
  border-right: 0;
}

.pass-detail-grid small,
.pass-detail-grid dt {
  display: block;
  color: var(--workspace-faint);
  font-size: 9px;
}

.pass-detail-grid strong,
.pass-detail-grid dd {
  margin: 4px 0 0;
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.review-note,
.task-review-note {
  margin-top: 14px;
  border: 1px solid #e4c998;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff8e9;
  color: #6c572e;
  font-size: 10px;
  line-height: 1.7;
}

.review-note strong,
.task-review-note strong {
  display: block;
  margin-bottom: 2px;
  color: #493817;
  font-size: 11px;
}

.form-help,
.field > small:not(.field-error),
#deposit-form-note {
  color: #777972;
  font-size: 10px;
  line-height: 1.55;
}

.deposit-form,
.delivery-form,
.delivery-review-form {
  margin-top: 26px;
}

.deposit-dialog {
  width: min(100% - 36px, 680px);
}

.delivery-dialog,
.delivery-review-dialog {
  width: min(100% - 36px, 760px);
}

#deposit-dialog-content:not(:empty),
#delivery-review-content:not(:empty) {
  margin-bottom: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--workspace-line-strong);
  border-bottom: 1px solid var(--workspace-line);
}

#deposit-dialog-content:empty,
#delivery-review-content:empty {
  display: none;
}

.deposit-form :is(input, select, textarea),
.delivery-form :is(input, select, textarea),
.delivery-review-form :is(input, select, textarea) {
  min-width: 0;
}

.delivery-review-form fieldset {
  min-width: 0;
  margin: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--workspace-line-strong);
  border-bottom: 1px solid var(--workspace-line);
  padding: 0;
}

.delivery-review-form legend {
  padding: 14px 0 8px;
  font-size: 12px;
  font-weight: 750;
}

.delivery-review-form fieldset label {
  min-height: 44px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4e504c;
  font-size: 11px;
}

.delivery-review-form fieldset label + label {
  border-top: 1px solid var(--workspace-line);
}

.delivery-review-form input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-red);
}

.sheet-dialog :is(button, [role="button"]),
.workspace-dialog :is(button, [role="button"]) {
  min-height: 44px;
}

.sheet-dialog :is(button, a, input, select, textarea):focus-visible,
.workspace-dialog :is(button, a, input, select, textarea):focus-visible {
  outline: 3px solid rgba(216, 66, 44, 0.38);
  outline-offset: 2px;
}

.workspace-rail :is(button, a):focus-visible {
  outline-color: rgba(249, 201, 41, 0.86);
}

.mobile-nav {
  display: none;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes radar-in {
  from { opacity: 0; transform: translateY(-49%) scale(0.92); }
  to { opacity: 1; transform: translateY(-51%) scale(1); }
}

@keyframes radar-sweep {
  to { transform: rotate(1turn); }
}

@keyframes orbit-pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.62); }
  78%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.75); }
}

@keyframes row-in {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 22px;
    margin-right: 24px;
  }

  .radar-orbits {
    right: -11vw;
    width: 55vw;
  }

  .market-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
  }

  .task-row,
  .feed-labels {
    grid-template-columns: minmax(0, 1fr) 125px;
  }
}

@media (max-width: 880px) {
  .brand-section,
  .brand-divider,
  .desktop-nav {
    display: none;
  }

  .hero-copy {
    width: min(650px, 67vw);
  }

  .radar-orbits {
    right: -24vw;
    width: 68vw;
  }

  .market-layout {
    grid-template-columns: 1fr;
  }

  .market-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .trust-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  body {
    padding-bottom: 68px;
  }

  .header-inner,
  .hero-inner,
  .market {
    width: min(100% - 36px, var(--page-width));
  }

  .site-header {
    position: relative;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 17px;
  }

  .login-button {
    display: none;
  }

  .account-button {
    min-height: 44px;
    border: 0;
    padding: 2px;
    background: transparent;
  }

  .account-avatar {
    width: 34px;
    height: 34px;
  }

  .account-copy {
    display: none;
  }

  .header-actions .open-publish {
    min-height: 44px;
    padding: 0 13px;
    font-size: 12px;
  }

  .task-radar,
  .hero-inner {
    min-height: 565px;
  }

  .hero-inner {
    padding: 36px 0 24px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    margin-top: 15px;
    font-size: clamp(48px, 14vw, 64px);
  }

  .hero-description {
    max-width: 92%;
    margin-top: 19px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-actions .button {
    min-height: 44px;
  }

  .search-box {
    min-height: 60px;
    margin-top: 24px;
    padding-left: 16px;
    grid-template-columns: 21px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .search-box input {
    font-size: 13px;
  }

  .search-box button {
    height: 46px;
    padding: 0 15px;
    font-size: 12px;
  }

  .popular-searches {
    max-width: 76%;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
  }

  .radar-orbits {
    top: auto;
    right: -29vw;
    bottom: -12vw;
    width: 86vw;
    opacity: 0.78;
    transform: none;
  }

  .radar-orbits img {
    border-width: 4px;
  }

  .hero-note {
    position: relative;
    z-index: 3;
    width: 78%;
    grid-template-columns: 38px 1fr;
    gap: 11px;
  }

  .hero-note-mark {
    width: 38px;
    height: 38px;
  }

  .hero-note a {
    display: none;
  }

  .hero-note strong {
    font-size: 12px;
  }

  .hero-note p {
    font-size: 10px;
  }

  .market {
    padding: 46px 0 72px;
  }

  .market-heading {
    align-items: flex-end;
  }

  .market-heading h2 {
    font-size: 32px;
  }

  .result-count {
    white-space: nowrap;
  }

  .category-bar {
    position: relative;
    margin-top: 28px;
    padding-bottom: 52px;
  }

  .sort-control {
    position: absolute;
    left: 0;
    bottom: 6px;
  }

  .market-layout {
    margin-top: 20px;
  }

  .feed-labels {
    display: none;
  }

  .task-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .task-row:hover {
    margin: 0;
    padding: 24px 0;
    background: transparent;
  }

  .task-title-button {
    font-size: 17px;
  }

  .task-title-line {
    gap: 10px;
  }

  .task-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .task-aside {
    min-height: auto;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    text-align: left;
  }

  .task-response {
    text-align: right;
  }

  .market-aside {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .membership-panel,
  .publish-panel {
    padding: 24px;
  }

  .trust-note {
    grid-column: auto;
  }

  .site-footer {
    min-height: 210px;
    padding: 35px 18px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .dialog-shell {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100dvh;
    padding: 28px 18px calc(24px + env(safe-area-inset-bottom));
    scrollbar-gutter: auto;
  }

  .sheet-dialog {
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .dialog-close {
    top: max(8px, env(safe-area-inset-top));
    margin: -16px -7px -18px auto;
  }

  .dialog-heading {
    padding-right: 50px;
  }

  .role-options {
    grid-template-columns: 1fr;
  }

  .role-option {
    min-height: 88px;
    flex-direction: row;
    align-items: center;
  }

  .workspace-dialog {
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
  }

  .workspace-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .workspace-rail {
    min-width: 0;
    width: 100%;
    padding: 14px 16px 12px;
  }

  .workspace-brand {
    padding-right: 132px;
  }

  .workspace-brand img {
    width: 32px;
    height: 32px;
  }

  .workspace-user {
    margin-top: 12px;
    padding: 10px 0;
  }

  .workspace-user > span {
    width: 31px;
    height: 31px;
  }

  .role-switcher {
    margin-top: 10px;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .role-switcher::-webkit-scrollbar {
    display: none;
  }

  .role-switcher > p {
    display: none;
  }

  .role-switcher button {
    width: auto;
    min-width: max-content;
    min-height: 44px;
    padding: 0 9px;
  }

  .role-switcher button span {
    width: 21px;
    height: 21px;
  }

  .reset-demo {
    position: absolute;
    right: 64px;
    top: 14px;
    margin: 0;
    border: 0;
    padding: 0 8px;
  }

  .workspace-nav {
    margin: 10px 0 0;
    padding: 9px 0 0;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .workspace-nav::-webkit-scrollbar {
    display: none;
  }

  .workspace-nav button {
    width: auto;
    min-width: max-content;
    flex: 0 0 auto;
    padding: 0 12px;
  }

  .workspace-nav button::before {
    left: 11px;
    right: 11px;
    top: auto;
    bottom: 4px;
    width: auto;
    height: 2px;
  }

  .workspace-main {
    width: 100%;
    min-height: 0;
  }

  .workspace-header {
    min-height: 108px;
    padding: 18px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .workspace-header > div {
    min-width: 0;
  }

  .workspace-header h2 {
    font-size: 23px;
  }

  .workspace-header > div > p:last-child {
    max-width: none;
  }

  .workspace-primary {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    font-size: 11px;
  }

  .workspace-content {
    padding: 20px 18px 90px;
  }

  .workspace-view-header {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .workspace-view-header .button {
    width: 100%;
  }

  .saved-task,
  .deposit-record,
  .activity-record,
  [data-saved-task],
  [data-deposit-record] {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 11px;
  }

  :is(.saved-task, .deposit-record, [data-saved-task], [data-deposit-record])
    :is(.button, .icon-button) {
    width: 100%;
    justify-self: stretch;
  }

  .workspace-task[data-saved-task] .workspace-task-head > div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .workspace-task[data-saved-task] .workspace-task-head .icon-button {
    width: 44px;
    flex: 0 0 44px;
    justify-self: auto;
  }

  .saved-task-actions,
  .deposit-record-actions,
  .record-actions {
    justify-content: stretch;
  }

  :is(.saved-task-actions, .deposit-record-actions, .record-actions) .button {
    flex: 1 1 140px;
  }

  .task-structured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-structured-grid > *,
  .task-structured-grid > :nth-child(odd),
  .task-structured-grid > :nth-child(even) {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--workspace-line);
  }

  .task-structured-grid > :nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--workspace-line);
  }

  .task-structured-grid > :last-child {
    border-bottom: 0;
  }

  .pass-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pass-detail-grid > *,
  .pass-detail-grid > :first-child,
  .pass-detail-grid > :last-child {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--workspace-line);
  }

  .pass-detail-grid > :last-child {
    border-bottom: 0;
  }

  .delivery-card {
    padding: 16px 0;
  }

  .task-flow {
    grid-template-columns: repeat(6, minmax(76px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .task-flow::-webkit-scrollbar {
    display: none;
  }

  .workspace-action-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .candidate-summary > span:nth-child(2) {
    border-right: 0;
  }

  .candidate-summary > span:nth-child(-n + 2) {
    border-bottom: 1px solid #ece9e1;
  }

  .candidate-toolbar,
  .proposal-card-actions,
  .candidate-review-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .candidate-toolbar .inline-actions,
  .proposal-card-actions .button,
  .candidate-review-actions .button {
    width: 100%;
  }

  .proposal-select {
    width: 100%;
  }

  .workspace-action-row .button,
  .inline-actions {
    width: 100%;
  }

  .inline-actions .button {
    flex: 1;
  }

  .proposal-terms {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .proposal-terms .button,
  .proposal-terms .status-chip {
    width: 100%;
    margin-left: 0;
  }

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

  .field-wide {
    grid-column: auto;
  }

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

  .deposit-dialog,
  .delivery-dialog,
  .delivery-review-dialog,
  .proposal-review-dialog {
    width: 100%;
  }

  .deposit-form,
  .delivery-form,
  .delivery-review-form {
    margin-top: 22px;
  }

  .detail-budget {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-budget div,
  .detail-budget div:first-child {
    padding: 0;
    border-right: 0;
  }

  .mobile-nav {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    height: 68px;
    padding-bottom: env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(255, 254, 250, 0.95);
    backdrop-filter: blur(18px);
  }

  .mobile-nav a,
  .mobile-nav button {
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background: transparent;
    color: #737169;
    font-size: 10px;
  }

  .mobile-nav > * > span {
    font-size: 17px;
    font-weight: 800;
  }

  .mobile-nav .is-active {
    color: var(--brand-red);
  }

  .toast {
    bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
