/*
 * GigMint redesign: project proposals + dispute pages (agent U6). Loaded only by those pages via the
 * gm-styles stack; every selector is scoped under .gm. Tokens come from gigmint-ui.css.
 */

/* ---------- Shared bits ---------- */
.gm .gm-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------- Project summary ---------- */
.gm .gm-pp-summary__head { padding: 28px 28px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.gm .gm-pp-summary__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gm .gm-pp-chips { gap: 8px; }
.gm .gm-pp-summary__desc { margin: 0; max-width: 680px; font-size: 15px; color: var(--gm-ink-2); }
.gm .gm-pp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gm .gm-pp-tags .gm-link { font-size: 13.5px; padding: 3px 4px; }
.gm .gm-pp-summary__actions { display: flex; gap: 10px; }
.gm .gm-pp-stats { margin: 0; border-top: 1px solid var(--gm-line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gm .gm-pp-stat { padding: 18px 28px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gm .gm-pp-stat + .gm-pp-stat { border-left: 1px solid var(--gm-line); }
.gm .gm-pp-stat dt { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gm-muted); }
.gm .gm-pp-stat dd { margin: 0; }
.gm .gm-pp-stat__value { font-family: var(--gm-font-display); font-weight: 600; font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gm .gm-pp-stat__sub { font-size: 13px; color: var(--gm-muted); font-variant-numeric: tabular-nums; }

/* ---------- Proposals list + confirm panel ---------- */
.gm .gm-pp-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.gm .gm-pp-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gm .gm-pp-list__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.gm .gm-pp-list__titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gm .gm-pp-count { font-family: var(--gm-font-body); font-size: 15px; font-weight: 500; color: var(--gm-muted); }
.gm .gm-pp-list__lede { font-size: 14px; color: var(--gm-muted); }
.gm .gm-pp-sort { flex: none; }
.gm .gm-pp-sort .gm-segmented__item { height: 32px; font-size: 13.5px; padding: 0 14px; flex: none; }
.gm .gm-pp-filters { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gm .gm-pp-tabs { flex: 1 1 auto; border-bottom: 0; }
.gm .gm-pp-search { width: 240px; }
.gm .gm-pp-sortnote { margin: -6px 0 0; }
.gm .gm-pp-cards { display: flex; flex-direction: column; gap: 16px; transition: opacity .15s; }
.gm .gm-pp-cards.is-loading { opacity: .55; }

.gm .gm-pp-card { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: var(--gm-radius-card); overflow: hidden; }
.gm .gm-pp-card.is-selected { border-color: var(--gm-line-strong); box-shadow: var(--gm-shadow-raised); }
.gm .gm-pp-card__body { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 18px; }
.gm .gm-pp-card__head { display: flex; gap: 16px; align-items: flex-start; }
.gm .gm-pp-card__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gm .gm-pp-card__name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gm .gm-pp-card__name { font-size: 16px; font-weight: 600; color: var(--gm-ink); text-decoration: none; }
.gm a.gm-pp-card__name:hover { color: var(--gm-coral-ink); text-decoration: underline; }
.gm .gm-pp-card__role { font-size: 13.5px; color: var(--gm-ink-2); }
.gm .gm-pp-card__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--gm-ink-2); font-variant-numeric: tabular-nums; }
.gm .gm-pp-card__rating b { font-weight: 600; color: var(--gm-ink); }
.gm .gm-pp-star { color: var(--gm-amber); fill: currentColor; }
.gm .gm-pp-card__price { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.gm .gm-pp-card__amount { font-family: var(--gm-font-display); font-weight: 600; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gm .gm-pp-card__timeline { font-size: 13px; color: var(--gm-muted); font-variant-numeric: tabular-nums; }
.gm .gm-pp-card__letter { margin: 0; font-size: 15px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-pp-card__letter .gm-link { white-space: nowrap; }
.gm .gm-pp-ms { background: var(--gm-sunken); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.gm .gm-pp-ms__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gm .gm-pp-ms__row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.gm .gm-pp-ms__n { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--gm-surface); border: 1px solid var(--gm-line-strong); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--gm-ink-2); font-variant-numeric: tabular-nums; }
.gm .gm-pp-ms__title { flex: 1; min-width: 0; color: var(--gm-ink); overflow-wrap: anywhere; }
.gm .gm-pp-ms__amount { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gm .gm-pp-card__actions { border-top: 1px solid var(--gm-line); background: var(--gm-paper); padding: 14px 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gm .gm-pp-card__msg { margin-left: auto; }
.gm .gm-pp-card__notice { flex: 1 1 240px; margin-left: auto; }
.gm .gm-pp-shortlist { background: var(--gm-surface); border: 1px solid var(--gm-line-strong); color: var(--gm-ink); font-size: 14px; }
.gm .gm-pp-shortlist:hover { background: var(--gm-sunken); color: var(--gm-ink); }
.gm .gm-pp-shortlist.is-on { background: var(--gm-coral-wash); border-color: var(--gm-coral-wash); color: var(--gm-coral-ink); }
.gm .gm-pp-shortlist.is-on .gm-svg { fill: currentColor; }

.gm .gm-pp-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gm .gm-pp-empty p { margin: 0; color: var(--gm-ink-2); font-size: 15px; }
.gm .gm-pp-empty__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gm-sunken); color: var(--gm-ink-2); display: flex; align-items: center; justify-content: center; }
.gm .gm-pp-hint { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gm-ink-2); }

.gm .gm-pp-confirm { flex: 1 1 340px; max-width: 420px; min-width: 0; position: sticky; top: 24px; }
.gm .gm-pp-confirm__scrim { display: none; }
.gm .gm-pp-confirm__panel {
  background: var(--gm-surface); border: 1px solid var(--gm-line-strong); border-radius: var(--gm-radius-card); box-shadow: var(--gm-shadow-raised);
  padding: 24px; display: flex; flex-direction: column; gap: 20px;
}
.gm .gm-pp-confirm__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.gm .gm-pp-confirm__titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gm .gm-pp-confirm__titles h2:focus { outline: none; }
.gm .gm-pp-confirm__close { width: 32px; height: 32px; flex: none; border-radius: 10px; border: 0; background: var(--gm-sunken); color: var(--gm-ink-2); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.gm .gm-pp-confirm__close:hover { color: var(--gm-ink); background: var(--gm-line); }
.gm .gm-pp-confirm__who { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--gm-line); border-radius: 12px; }
.gm .gm-pp-confirm__who-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.gm .gm-pp-confirm__who-name { font-size: 14.5px; font-weight: 600; }
.gm .gm-pp-confirm__note { margin: 0; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-pp-confirm__ms { display: flex; flex-direction: column; gap: 10px; }
.gm .gm-pp-confirm__ms-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.gm .gm-pp-confirm__ms-n { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--gm-teal-wash); color: var(--gm-teal); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gm .gm-pp-confirm__ms-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; overflow-wrap: anywhere; }
.gm .gm-pp-confirm__ms-amount { font-weight: 600; white-space: nowrap; }
.gm .gm-pp-confirm__sum { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; padding-top: 16px; border-top: 1px solid var(--gm-line); }
.gm .gm-pp-confirm__sum > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.gm .gm-pp-confirm__sum dt { color: var(--gm-ink-2); }
.gm .gm-pp-confirm__sum dd { margin: 0; }
.gm .gm-pp-confirm__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--gm-line); }
.gm .gm-pp-confirm__total dt { font-weight: 600; color: var(--gm-ink); }
.gm .gm-pp-confirm__total dd { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; line-height: 1; }
.gm .gm-pp-confirm__escrow { background: var(--gm-paper); border: 1px solid var(--gm-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.gm .gm-pp-confirm__escrow p { margin: 0; font-size: 13.5px; color: var(--gm-ink-2); }
.gm .gm-pp-confirm__pay { display: flex; flex-direction: column; gap: 10px; }
.gm .gm-pp-confirm__paybtn { height: 52px; font-size: 16px; }
.gm .gm-pp-confirm__fine { margin: 0; text-align: center; }

/* ---------- Compare bar ---------- */
.gm .gm-pp-compare { background: var(--gm-surface); border: 1px solid var(--gm-line-strong); border-radius: var(--gm-radius-card); box-shadow: var(--gm-shadow-raised); overflow: hidden; }
.gm .gm-pp-compare__bar { background: var(--gm-night); color: var(--gm-night-text); padding: 14px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gm .gm-pp-compare__title { margin: 0; font-size: 18px; color: var(--gm-night-text); }
.gm .gm-pp-compare__faces { display: flex; }
.gm .gm-pp-compare__faces .gm-avatar { border: 2px solid var(--gm-night); }
.gm .gm-pp-compare__faces .gm-avatar + .gm-avatar { margin-left: -8px; }
.gm .gm-pp-compare__sub { font-size: 14px; color: var(--gm-night-muted); }
.gm .gm-pp-compare__btn { height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--gm-ink-2); background: transparent; color: var(--gm-night-text); font: 600 13.5px var(--gm-font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gm .gm-pp-compare__btn:first-of-type { margin-left: auto; }
.gm .gm-pp-compare__btn:hover { background: #2A221D; }
.gm .gm-pp-compare__toggle { width: 36px; padding: 0; }
.gm .gm-pp-compare__toggle[aria-expanded="false"] .gm-svg { transform: rotate(180deg); }
.gm .gm-pp-compare__table { overflow-x: auto; }
.gm .gm-pp-compare__table[hidden] { display: none; }
.gm .gm-pp-compare__row { display: grid; grid-template-columns: 180px repeat(var(--gm-cmp-cols, 2), minmax(200px, 1fr)); border-bottom: 1px solid var(--gm-line); }
.gm .gm-pp-compare__row:last-child { border-bottom: 0; }
.gm .gm-pp-compare__row > span { padding: 16px 24px; min-width: 0; }
.gm .gm-pp-compare__label { font-size: 13.5px; font-weight: 600; color: var(--gm-ink-2); }
.gm .gm-pp-compare__who { display: flex; align-items: center; gap: 10px; }
.gm .gm-pp-compare__who > span:last-child { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.gm .gm-pp-compare__name { font-size: 14.5px; font-weight: 600; }
.gm .gm-pp-compare__cell { display: flex; flex-direction: column; gap: 2px; }
.gm .gm-pp-compare__big { font-family: var(--gm-font-display); font-weight: 600; font-size: 22px; line-height: 1.2; }
.gm .gm-pp-compare__val { font-size: 15px; color: var(--gm-ink); }
.gm .gm-pp-compare__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }

/* ---------- Dispute page ---------- */
.gm .gm-dsp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.gm .gm-dsp-header__main { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1 1 520px; }
.gm .gm-dsp-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-dsp-meta__item { display: inline-flex; align-items: center; gap: 8px; }
.gm .gm-dsp-meta__item b { color: var(--gm-ink); font-weight: 600; }
.gm .gm-dsp-meta__sep { width: 1px; height: 16px; background: var(--gm-line-strong); }

.gm .gm-dsp-money { padding: 24px 28px 22px; display: flex; flex-direction: column; gap: 24px; }
.gm .gm-dsp-money__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.gm .gm-dsp-money__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gm .gm-dsp-money__text > span:last-child { font-size: 15px; color: var(--gm-ink-2); }
.gm .gm-dsp-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: var(--gm-radius-pill); font-variant-numeric: tabular-nums; }
.gm .gm-dsp-pill--red { background: var(--gm-red-wash); color: var(--gm-red); }
.gm .gm-dsp-pill--teal { background: var(--gm-teal-wash); color: var(--gm-teal); }
.gm .gm-dsp-pill--neutral { background: var(--gm-sunken); color: var(--gm-ink-2); }

.gm .gm-dsp-columns { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.gm .gm-dsp-maincol { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.gm .gm-dsp-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.gm .gm-dsp-status { padding: 0; overflow: hidden; }
.gm .gm-dsp-status.is-action { border-color: var(--gm-line-strong); box-shadow: var(--gm-shadow-raised); }
.gm .gm-dsp-status__body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 24px; }
.gm .gm-dsp-status__lead { display: flex; align-items: flex-start; gap: 16px; }
.gm .gm-dsp-status__icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.gm .gm-dsp-status__icon--red { background: var(--gm-red-wash); color: var(--gm-red); }
.gm .gm-dsp-status__icon--amber { background: var(--gm-amber-wash); color: var(--gm-amber); }
.gm .gm-dsp-status__icon--teal { background: var(--gm-teal-wash); color: var(--gm-teal); }
.gm .gm-dsp-status__icon--neutral { background: var(--gm-sunken); color: var(--gm-ink-2); }
.gm .gm-dsp-status__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gm .gm-dsp-status__text > span { font-size: 14px; color: var(--gm-ink-2); }

.gm .gm-dsp-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.gm .gm-dsp-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative; min-width: 0; }
.gm .gm-dsp-step::after { content: ""; position: absolute; top: 11px; left: 28px; right: 8px; height: 2px; background: var(--gm-line); }
.gm .gm-dsp-step:last-child::after { display: none; }
.gm .gm-dsp-step.is-done::after { background: var(--gm-ink-2); }
.gm .gm-dsp-step__node { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--gm-surface); border: 2px solid var(--gm-line-strong); color: var(--gm-muted); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gm .gm-dsp-step.is-done .gm-dsp-step__node { background: var(--gm-ink-2); border-color: var(--gm-ink-2); color: #FFFFFF; }
.gm .gm-dsp-step.is-current .gm-dsp-step__node { background: var(--gm-amber-wash); border-color: var(--gm-amber); color: var(--gm-amber); }
.gm .gm-dsp-step.is-skipped .gm-dsp-step__node { border-style: dashed; }
.gm .gm-dsp-step__text { display: flex; flex-direction: column; line-height: 1.35; padding-right: 16px; }
.gm .gm-dsp-step__label { font-size: 14px; font-weight: 500; color: var(--gm-ink); }
.gm .gm-dsp-step.is-upcoming .gm-dsp-step__label, .gm .gm-dsp-step.is-skipped .gm-dsp-step__label { color: var(--gm-muted); }
.gm .gm-dsp-step.is-current .gm-dsp-step__label { font-weight: 600; }
.gm .gm-dsp-step__sub { font-size: 12.5px; color: var(--gm-muted); }
.gm .gm-dsp-step.is-current .gm-dsp-step__sub { color: var(--gm-amber); }

.gm .gm-dsp-actions { background: var(--gm-paper); border-top: 1px solid var(--gm-line); padding: 20px 28px 22px; display: flex; flex-direction: column; gap: 12px; }
.gm .gm-dsp-actions__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gm .gm-dsp-actions__note { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.gm .gm-dsp-actions__help { font-size: 13.5px; color: var(--gm-muted); }
.gm .gm-dsp-respond { display: flex; flex-direction: column; gap: 12px; }
.gm .gm-dsp-respond .gm-textarea { min-height: 96px; }

.gm .gm-dsp-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.gm .gm-dsp-section__head > div { display: flex; flex-direction: column; gap: 2px; }
.gm .gm-dsp-section__head span { font-size: 14px; color: var(--gm-muted); }
.gm .gm-dsp-sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--gm-line); border-radius: 12px; overflow: hidden; }
.gm .gm-dsp-sidebox { padding: 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gm .gm-dsp-sidebox + .gm-dsp-sidebox { border-left: 1px solid var(--gm-line); }
.gm .gm-dsp-sidebox__who { display: flex; align-items: center; gap: 10px; }
.gm .gm-dsp-sidebox__who > span:last-child { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.gm .gm-dsp-sidebox__name { font-size: 14.5px; font-weight: 600; }
.gm .gm-dsp-sidebox dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.gm .gm-dsp-sidebox dt { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gm-muted); margin-bottom: 4px; }
.gm .gm-dsp-sidebox dd { margin: 0; font-size: 14.5px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-dsp-files { display: flex; flex-direction: column; gap: 8px; }
.gm .gm-dsp-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--gm-line); border-radius: 10px; background: var(--gm-surface); color: var(--gm-ink); font: 500 14px var(--gm-font-body); text-align: left; cursor: pointer; width: 100%; }
.gm .gm-dsp-file:hover { border-color: var(--gm-line-strong); background: var(--gm-paper); }
.gm .gm-dsp-file > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }

.gm .gm-dsp-convo { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gm .gm-dsp-msg { position: relative; display: flex; gap: 12px; padding-bottom: 20px; }
.gm .gm-dsp-msg::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 0; width: 2px; background: var(--gm-line); }
.gm .gm-dsp-msg:last-child::before { display: none; }
.gm .gm-dsp-msg__staff { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--gm-night); color: var(--gm-night-text); font-family: var(--gm-font-display); font-weight: 700; font-size: 15px; }
.gm .gm-dsp-msg__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.gm .gm-dsp-msg__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--gm-muted); }
.gm .gm-dsp-msg__name { font-size: 14px; font-weight: 600; color: var(--gm-ink); }
.gm .gm-dsp-msg__bubble { padding: 12px 14px; border-radius: 4px 14px 14px 14px; background: var(--gm-sunken); font-size: 14.5px; color: var(--gm-ink); overflow-wrap: anywhere; }
.gm .gm-dsp-msg.is-mine .gm-dsp-msg__bubble { background: var(--gm-coral-wash); }
.gm .gm-dsp-msg.is-staff .gm-dsp-msg__bubble { background: var(--gm-surface); border: 1px solid var(--gm-line-strong); }
.gm .gm-dsp-msg__files { align-self: flex-start; }
.gm .gm-dsp-event { position: relative; display: flex; gap: 12px; padding-bottom: 20px; align-items: flex-start; }
.gm .gm-dsp-event::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 0; width: 2px; background: var(--gm-line); }
.gm .gm-dsp-event:last-child::before { display: none; }
.gm .gm-dsp-event__node { width: 36px; height: 36px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gm-sunken); color: var(--gm-ink-2); }
.gm .gm-dsp-event__node--red { background: var(--gm-red-wash); color: var(--gm-red); }
.gm .gm-dsp-event__node--teal { background: var(--gm-teal-wash); color: var(--gm-teal); }
.gm .gm-dsp-event__text { display: flex; flex-direction: column; line-height: 1.4; padding-top: 2px; font-size: 14px; }
.gm .gm-dsp-event__title { font-weight: 600; color: var(--gm-ink); }
.gm .gm-dsp-event__detail { color: var(--gm-muted); font-size: 13px; }
.gm .gm-dsp-reply { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--gm-line); }
.gm .gm-dsp-reply__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gm .gm-dsp-reply__row .gm-btn { margin-left: auto; }

.gm .gm-dsp-held__amount { display: flex; align-items: center; gap: 12px; }
.gm .gm-dsp-held__icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.gm .gm-dsp-held__num { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gm .gm-dsp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-dsp-list li { display: flex; gap: 8px; align-items: flex-start; }
.gm .gm-dsp-list .gm-svg { margin-top: 3px; color: var(--gm-muted); }
.gm .gm-dsp-side .gm-card { display: flex; flex-direction: column; gap: 14px; }
.gm .gm-dsp-sum { margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.gm .gm-dsp-sum > div { display: flex; justify-content: space-between; gap: 12px; }
.gm .gm-dsp-sum dt { color: var(--gm-ink-2); min-width: 0; overflow-wrap: anywhere; }
.gm .gm-dsp-sum dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gm .gm-dsp-sum__total { padding-top: 10px; border-top: 1px solid var(--gm-line); font-weight: 600; }
.gm .gm-dsp-sum__total dt { color: var(--gm-ink); }
.gm .gm-dsp-outcomes { display: flex; flex-direction: column; gap: 12px; }
.gm .gm-dsp-outcome { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.gm .gm-dsp-outcome__dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; }
.gm .gm-dsp-outcome > span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.gm .gm-dsp-outcome b { font-weight: 600; color: var(--gm-ink); }
.gm .gm-dsp-outcome .gm-caption { font-size: 13px; }

/* Dispute list */
.gm .gm-dsp-filters { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gm .gm-dsp-filters .gm-tabs { flex: 1 1 auto; border-bottom: 0; }
.gm .gm-dsp-table td .gm-chip { white-space: nowrap; }
.gm .gm-dsp-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.gm .gm-dsp-empty p { margin: 0; color: var(--gm-ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .gm .gm-pp-confirm { position: fixed; z-index: 60; inset: 0; max-width: none; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
  .gm .gm-pp-confirm__scrim { display: block; position: absolute; inset: 0; border: 0; padding: 0; background: rgba(28, 22, 18, .4); cursor: default; }
  .gm .gm-pp-confirm__panel { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow-y: auto; }
}
@media (max-width: 1024px) {
  .gm .gm-pp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm .gm-pp-stat:nth-child(3) { border-left: 0; }
  .gm .gm-pp-stat:nth-child(n+3) { border-top: 1px solid var(--gm-line); }
}
@media (max-width: 768px) {
  .gm .gm-pp-summary__head { padding: 20px 16px 16px; }
  .gm .gm-pp-stat { padding: 14px 16px; }
  .gm .gm-pp-stat__value { font-size: 18px; }
  .gm .gm-pp-search { width: 100%; }
  .gm .gm-pp-sort { width: 100%; }
  .gm .gm-pp-sort .gm-segmented__item { flex: 1 1 0; padding: 0 8px; }
  .gm .gm-pp-card__body { padding: 18px 16px 16px; }
  .gm .gm-pp-card__head { flex-wrap: wrap; }
  .gm .gm-pp-card__head .gm-avatar { width: 40px; height: 40px; }
  .gm .gm-pp-card__price { flex-basis: 100%; flex-direction: row; align-items: baseline; justify-content: space-between; text-align: left; }
  .gm .gm-pp-card__amount { font-size: 22px; }
  .gm .gm-pp-card__actions { padding: 12px 16px; }
  .gm .gm-pp-card__actions .gm-btn { flex: 1 1 auto; }
  .gm .gm-pp-card__msg { margin-left: 0; }
  .gm .gm-pp-ms__row { flex-wrap: wrap; }
  .gm .gm-pp-confirm { padding: 0; }
  .gm .gm-pp-confirm__panel { max-width: none; max-height: 92vh; border-radius: 16px 16px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); }
  .gm .gm-pp-compare__bar { padding: 12px 16px; gap: 10px; }
  .gm .gm-pp-compare__sub { flex-basis: 100%; order: 5; }
  .gm .gm-pp-compare__row { grid-template-columns: 110px repeat(var(--gm-cmp-cols, 2), minmax(160px, 1fr)); }
  .gm .gm-pp-compare__row > span { padding: 12px 14px; }

  .gm .gm-dsp-money { padding: 20px 16px; }
  .gm .gm-dsp-status__body { padding: 20px 16px; }
  .gm .gm-dsp-actions { padding: 16px; }
  .gm .gm-dsp-actions__note { margin-left: 0; }
  .gm .gm-dsp-actions__row .gm-btn { flex: 1 1 auto; }
  .gm .gm-dsp-steps { flex-direction: column; gap: 14px; }
  .gm .gm-dsp-step { flex-direction: row; align-items: flex-start; gap: 12px; }
  .gm .gm-dsp-step::after { top: 28px; left: 11px; right: auto; bottom: -12px; width: 2px; height: auto; }
  .gm .gm-dsp-step__node { flex: none; }
  .gm .gm-dsp-sides { grid-template-columns: minmax(0, 1fr); }
  .gm .gm-dsp-sidebox + .gm-dsp-sidebox { border-left: 0; border-top: 1px solid var(--gm-line); }
  .gm .gm-dsp-meta__sep { display: none; }
  .gm .gm-dsp-header .gm-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gm .gm-pp-cards { transition: none; }
}

/* =====================================================================
 * Phase 5 wave 2 (B3): post a project (public + /create-project), project page, My projects /
 * My proposals, send a proposal, proposal detail. Prefixes: gm-post-, gm-pc-, gm-pd-, gm-mp-,
 * gm-sp-, gm-pdl- (gm-pp- above belongs to the proposals page).
 * ===================================================================== */

/* ---------- Post a project: frame ---------- */
.gm .gm-post-hdr__label { font-size: 15px; font-weight: 500; color: var(--gm-ink-2); padding-right: 12px; margin-right: 4px; border-right: 1px solid var(--gm-line); }
.gm .gm-post { padding-top: 40px; padding-bottom: 80px; }
.gm .gm-post-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.gm .gm-post-top__titles { display: flex; flex-direction: column; gap: 8px; max-width: 640px; min-width: 0; }
.gm .gm-post-title { font-family: var(--gm-font-display); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.gm .gm-post-lede { margin: 0; color: var(--gm-ink-2); font-size: 16px; }
.gm .gm-post-progress { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.gm .gm-post-progress__label { font-size: 13px; font-weight: 600; color: var(--gm-muted); }
.gm .gm-post-progress__bars { display: flex; gap: 6px; }
.gm .gm-post-progress__bars span { width: 56px; height: 6px; border-radius: var(--gm-radius-pill); background: var(--gm-line); }
.gm .gm-post-progress__bars span.is-on { background: var(--gm-coral-ink); }
.gm .gm-post-resume { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -8px 0 24px; padding: 12px 16px; border-radius: 12px; background: var(--gm-blue-wash); color: var(--gm-ink-2); font-size: 14px; }
.gm .gm-post-resume .gm-svg { color: var(--gm-blue); }
.gm .gm-post-resume .gm-link { margin-left: auto; font-size: 14px; }

.gm .gm-post-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.gm .gm-post-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.gm .gm-post-rail { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }

/* Step cards */
.gm .gm-post-step { background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: var(--gm-radius-card); padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.gm .gm-post-step.is-active { border-color: var(--gm-line-strong); }
.gm .gm-post-step__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gm .gm-post-step__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gm .gm-post-step__num {
  flex: 0 0 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gm-line-strong); background: var(--gm-surface); color: var(--gm-muted); font-weight: 600; font-size: 14px;
}
.gm .gm-post-step.is-active .gm-post-step__num { border-color: var(--gm-coral-ink); background: var(--gm-coral-ink); color: #FFFFFF; }
.gm .gm-post-step.is-done .gm-post-step__num { border-color: var(--gm-teal); background: var(--gm-teal); color: #FFFFFF; }
.gm .gm-post-form.is-enhanced .gm-post-step:not(.is-active):not(.is-done) .gm-post-step__title h2 { color: var(--gm-muted); }
.gm .gm-post-step__body { display: flex; flex-direction: column; gap: 20px; }
.gm .gm-post-step__body[hidden], .gm .gm-post-summary[hidden], .gm .gm-post-step__hint[hidden], .gm .gm-post-edit[hidden] { display: none; }
.gm .gm-post-step__hint { margin: -8px 0 0 44px; font-size: 14px; color: var(--gm-muted); }
.gm .gm-post-step__foot { display: flex; }
.gm .gm-post-opt { font-weight: 400; color: var(--gm-muted); }
.gm .gm-post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gm .gm-post-help-row { display: flex; justify-content: space-between; gap: 16px; }
.gm .gm-post-count { flex: none; font-variant-numeric: tabular-nums; }
.gm .gm-post-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gm .gm-post-fieldset legend { padding: 0; margin-bottom: 8px; }

/* Collapsed step-1 summary */
.gm .gm-post-summary { display: flex; flex-direction: column; gap: 8px; padding-left: 44px; }
.gm .gm-post-summary__title { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.gm .gm-post-summary__desc { margin: 0; font-size: 14.5px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-post-summary__tags, .gm .gm-post-pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gm .gm-post-summary__tags:empty, .gm .gm-post-pcard__tags:empty { display: none; }
.gm .gm-post-tag { font-size: 12.5px; font-weight: 500; padding: 2px 10px; border-radius: var(--gm-radius-pill); background: var(--gm-sunken); color: var(--gm-ink-2); }
.gm .gm-post-tag.is-cat { background: var(--gm-blue-wash); color: var(--gm-blue); font-weight: 600; }

/* Skill chip input */
.gm .gm-post-chipbox {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 44px; padding: 5px 8px;
  border: 1px solid var(--gm-line-strong); border-radius: var(--gm-radius-control); background: var(--gm-surface);
}
.gm .gm-post-chipbox:focus-within { border-color: var(--gm-coral-ink); box-shadow: inset 0 0 0 1px var(--gm-coral-ink); }
.gm .gm-post-chiplist { display: contents; list-style: none; margin: 0; padding: 0; }
.gm .gm-post-skill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: var(--gm-radius-pill); background: var(--gm-coral-wash); color: var(--gm-coral-ink); font-size: 13px; font-weight: 600; }
.gm .gm-post-skill button { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.gm .gm-post-skill button:hover { background: rgba(194, 65, 12, .12); }
.gm .gm-post-chipbox__input { flex: 1 1 120px; min-width: 100px; height: 32px; border: 0; background: transparent; font: 400 15px var(--gm-font-body); color: var(--gm-ink); }
.gm .gm-post-chipbox__input:focus { outline: none; box-shadow: none; }

/* Pay type, budget, stepper */
.gm .gm-post-paytype { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--gm-coral-ink); border-radius: 12px; background: var(--gm-coral-wash); }
.gm .gm-post-paytype__radio { flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 5px solid var(--gm-coral-ink); background: #FFFFFF; }
.gm .gm-post-paytype__text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-post-paytype__text strong { font-size: 15px; color: var(--gm-ink); }
.gm .gm-post-range { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gm .gm-post-range__to { font-size: 14px; color: var(--gm-muted); }
.gm .gm-post-money { position: relative; flex: 1 1 140px; min-width: 0; }
.gm .gm-post-money__sym { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gm-muted); font-size: 15px; pointer-events: none; }
.gm .gm-post-money .gm-input { padding-left: 30px; font-variant-numeric: tabular-nums; }
.gm .gm-post-stepper { display: flex; align-items: center; gap: 8px; }
.gm .gm-post-stepper .gm-input { width: 72px; text-align: center; font-variant-numeric: tabular-nums; }

/* "More details" disclosure */
.gm .gm-post-more { border-top: 1px solid var(--gm-line); padding-top: 4px; }
.gm .gm-post-more > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; }
.gm .gm-post-more > summary::-webkit-details-marker { display: none; }
.gm .gm-post-more > summary .gm-svg { transition: transform .15s; color: var(--gm-muted); }
.gm .gm-post-more[open] > summary .gm-svg { transform: rotate(180deg); }
.gm .gm-post-more__body { padding: 4px 0 8px; }
.gm .gm-post-more__note { margin: 4px 0 0; }

.gm .gm-post-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--gm-line); padding-top: 20px; }
.gm .gm-post-actions__right { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.gm .gm-post-fine { margin: 0; font-size: 13px; color: var(--gm-muted); }

/* Right rail: preview + next */
.gm .gm-post-preview { display: flex; flex-direction: column; gap: 10px; }
.gm .gm-post-preview__head { display: flex; justify-content: space-between; align-items: center; }
.gm .gm-post-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gm-teal); }
.gm .gm-post-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gm-teal-bright); }
.gm .gm-post-pcard { display: flex; flex-direction: column; gap: 12px; box-shadow: var(--gm-shadow-raised); }
.gm .gm-post-pcard__chips { gap: 6px; }
.gm .gm-post-pcard__title { font-family: var(--gm-font-display); font-size: 20px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.gm .gm-post-pcard__who { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gm-ink-2); }
.gm .gm-post-pcard__desc { margin: 0; font-size: 14px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-post-pcard__facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 12px; background: var(--gm-sunken); }
.gm .gm-post-pcard__facts dt { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gm-muted); }
.gm .gm-post-pcard__facts dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gm .gm-post-pcard .gm-money-pill { align-self: flex-start; }
.gm .gm-post-next { display: flex; flex-direction: column; gap: 14px; }
.gm .gm-post-next__title { font-family: var(--gm-font-body); font-size: 16px; font-weight: 600; }
.gm .gm-post-next__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.gm .gm-post-next__list li { display: flex; gap: 12px; align-items: flex-start; }
.gm .gm-post-next__list li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--gm-ink-2); }
.gm .gm-post-next__list strong { font-size: 14.5px; color: var(--gm-ink); font-weight: 600; }
.gm .gm-post-next__num { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gm-coral-wash); color: var(--gm-coral-ink); font-size: 13px; font-weight: 700; }
.gm .gm-post-next__num--teal { background: var(--gm-teal-wash); color: var(--gm-teal); }

/* ---------- /create-project extras ---------- */
.gm .gm-pc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.gm .gm-pc-steps__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gm-muted); }
.gm .gm-pc-steps__item.is-current { color: var(--gm-ink); font-weight: 600; }
.gm .gm-pc-steps__item.is-done { color: var(--gm-ink-2); }
.gm .gm-pc-steps__dot { flex: 0 0 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--gm-line-strong); background: var(--gm-surface); font-size: 12px; font-weight: 700; }
.gm .gm-pc-steps__item.is-current .gm-pc-steps__dot { border-color: var(--gm-coral-ink); background: var(--gm-coral-ink); color: #FFFFFF; }
.gm .gm-pc-steps__item.is-done .gm-pc-steps__dot { border-color: var(--gm-teal); background: var(--gm-teal); color: #FFFFFF; }
.gm .gm-pc-steps__btn { display: inline-flex; align-items: center; gap: 8px; padding: 2px 4px; margin: -2px -4px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; }
.gm .gm-pc-steps__btn:hover .gm-pc-steps__label { text-decoration: underline; }

.gm .gm-pc-start { display: flex; flex-direction: column; gap: 28px; max-width: 880px; }
.gm .gm-pc-start__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.gm .gm-pc-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; font: inherit; color: var(--gm-ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.gm .gm-pc-choice:hover { border-color: var(--gm-line-strong); box-shadow: var(--gm-shadow-raised); }
.gm .gm-pc-choice__icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.gm .gm-pc-choice__title { font-family: var(--gm-font-display); font-size: 22px; font-weight: 600; }
.gm .gm-pc-choice__text { font-size: 14.5px; color: var(--gm-ink-2); }
.gm .gm-pc-back { margin-left: -14px; align-self: flex-start; }

.gm .gm-pc-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.gm .gm-pc-tools__search { flex: 1 1 280px; max-width: 420px; }
.gm .gm-pc-tools__per { display: flex; align-items: center; gap: 8px; }
.gm .gm-pc-tools__per .gm-select { width: auto; }
.gm .gm-pc-tlist { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 12px; transition: opacity .15s; }
.gm .gm-pc-tlist.is-loading, .gm .gm-pc-flist.is-loading { opacity: .55; }
.gm .gm-pc-titem { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gm .gm-pc-titem__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 320px; }
.gm .gm-pc-titem__chips { gap: 6px; }
.gm .gm-pc-titem__title { font-family: var(--gm-font-body); font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.gm .gm-pc-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.gm .gm-pc-empty p { margin: 0; color: var(--gm-ink-2); }

.gm .gm-pc-radios { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.gm .gm-pc-radio { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--gm-line-strong); border-radius: 12px; background: var(--gm-surface); cursor: pointer; }
.gm .gm-pc-radio.is-on, .gm .gm-pc-radio:has(input:checked) { border-color: var(--gm-coral-ink); background: var(--gm-coral-wash); }
.gm .gm-pc-radio input { margin: 3px 0 0; accent-color: var(--gm-coral-ink); width: 16px; height: 16px; flex: none; }
.gm .gm-pc-radio__text { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--gm-ink-2); }
.gm .gm-pc-radio__text strong { font-size: 15px; color: var(--gm-ink); font-weight: 600; }

.gm .gm-pc-drop { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--gm-line-strong); border-radius: 12px; background: var(--gm-paper); cursor: pointer; }
.gm .gm-pc-drop:hover { border-color: var(--gm-coral-ink); }
.gm .gm-pc-drop__icon { flex: 0 0 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--gm-sunken); color: var(--gm-ink-2); }
.gm .gm-pc-drop__text { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.gm .gm-field:focus-within .gm-pc-drop { box-shadow: var(--gm-focus); }
.gm .gm-pc-files { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gm .gm-pc-files li { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1px solid var(--gm-line); border-radius: 10px; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-pc-files__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm .gm-pc-files .gm-icon-btn--ghost { border-color: transparent; background: transparent; width: 32px; height: 32px; }

.gm .gm-pc-pick__tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.gm .gm-pc-pick__tools .gm-search { flex: 1 1 220px; max-width: 320px; }
.gm .gm-pc-pick__list { list-style: none; margin: 4px 0 0; padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2px 12px; max-height: 260px; overflow-y: auto; border: 1px solid var(--gm-line); border-radius: 12px; background: var(--gm-paper); }
.gm .gm-pc-pick__list--short { max-height: 200px; }
.gm .gm-pc-pick__list li[hidden] { display: none; }
.gm .gm-pc-check { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 14px; color: var(--gm-ink-2); cursor: pointer; border-radius: 8px; }
.gm .gm-pc-check:hover { background: var(--gm-sunken); }
.gm .gm-pc-check input { accent-color: var(--gm-coral-ink); width: 16px; height: 16px; flex: none; }
.gm .gm-pc-check input:checked + span { color: var(--gm-ink); font-weight: 600; }

.gm .gm-pc-invite { display: flex; flex-direction: column; gap: 20px; max-width: 920px; }
.gm .gm-pc-done { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--gm-radius-card); border: 1px solid var(--gm-line); background: var(--gm-surface); }
.gm .gm-pc-done.is-live { background: var(--gm-teal-wash); border-color: transparent; }
.gm .gm-pc-done.is-waiting { background: var(--gm-amber-wash); border-color: transparent; }
.gm .gm-pc-done__icon { color: var(--gm-teal); display: inline-flex; }
.gm .gm-pc-done.is-waiting .gm-pc-done__icon { color: var(--gm-amber); }
.gm .gm-pc-done__text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-pc-done__text strong { font-size: 16px; color: var(--gm-ink); }
.gm .gm-pc-done__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gm .gm-pc-flist { list-style: none; margin: 0; padding: 0; transition: opacity .15s; }
.gm .gm-pc-frow { display: flex; align-items: center; gap: 14px; padding: 16px 24px; border-top: 1px solid var(--gm-line); }
.gm .gm-pc-frow__av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.gm .gm-pc-frow__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gm .gm-pc-frow__name { gap: 8px; font-size: 15px; }
.gm .gm-pc-frow__tag { font-size: 14px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-pc-frow__actions { flex: none; }
.gm .gm-pc-star { color: var(--gm-amber); fill: currentColor; vertical-align: -2px; }

/* ---------- Project page ---------- */
.gm .gm-pd { padding-top: 24px; padding-bottom: 80px; }
.gm .gm-pd-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 13.5px; color: var(--gm-muted); }
.gm .gm-pd-crumbs a { color: var(--gm-ink-2); text-decoration: none; }
.gm .gm-pd-crumbs a:hover { color: var(--gm-coral-ink); text-decoration: underline; }
.gm .gm-pd-crumbs [aria-current] { color: var(--gm-ink); font-weight: 500; overflow-wrap: anywhere; }
.gm .gm-pd-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: var(--gm-coral-wash); color: var(--gm-ink); font-size: 15px; }
.gm .gm-pd-notice .gm-svg { color: var(--gm-coral-ink); }
.gm .gm-pd-notice__text { flex: 1 1 240px; }
.gm .gm-pd-notice__form { margin: 0; }
.gm .gm-pd-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.gm .gm-pd-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gm .gm-pd-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gm .gm-pd-head { display: flex; flex-direction: column; gap: 12px; }
.gm .gm-pd-chips { gap: 8px; }
.gm .gm-pd-title { font-family: var(--gm-font-display); font-weight: 700; font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.gm .gm-pd-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--gm-ink-2); font-size: 14.5px; }
.gm .gm-pd-meta li { display: inline-flex; align-items: center; gap: 6px; }
.gm .gm-pd-meta .gm-svg { color: var(--gm-muted); }
.gm .gm-pd-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--gm-radius-card); overflow: hidden; background: var(--gm-night); }
.gm .gm-pd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gm .gm-pd-block { display: flex; flex-direction: column; gap: 14px; }
.gm .gm-pd-prose { font-size: 15.5px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-pd-prose p { margin: 0 0 12px; }
.gm .gm-pd-prose ul, .gm .gm-pd-prose ol { margin: 0 0 12px; padding-left: 22px; }
.gm .gm-pd-videolink { margin: 0; display: flex; align-items: center; gap: 8px; }
.gm .gm-pd-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gm .gm-pd-tags li { padding: 4px 12px; border-radius: var(--gm-radius-pill); background: var(--gm-sunken); color: var(--gm-ink-2); font-size: 13.5px; font-weight: 500; }
.gm .gm-pd-files { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.gm .gm-pd-files__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 280px; }
.gm .gm-pd-files__text p { margin: 0; color: var(--gm-ink-2); font-size: 14.5px; }
.gm .gm-pd-budget { display: flex; flex-direction: column; gap: 8px; }
.gm .gm-pd-budget__amt { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gm .gm-pd-budget .gm-caption { margin: 0; }
.gm .gm-pd-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.gm .gm-pd-cta form { margin: 0; }
.gm .gm-pd-cta__note { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--gm-ink); }
.gm .gm-pd-cta__note .gm-svg { color: var(--gm-teal); }
.gm .gm-pd-cta__fine { margin: 0; font-size: 13.5px; color: var(--gm-ink-2); text-align: center; }
.gm .gm-pd-save.is-on { color: var(--gm-coral-ink); }
.gm .gm-pd-save.is-on .gm-svg { fill: currentColor; }
.gm .gm-pd-safe { margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--gm-line); display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--gm-teal); }
.gm .gm-pd-safe .gm-svg { margin-top: 2px; }
.gm .gm-pd-client, .gm .gm-pd-details { display: flex; flex-direction: column; gap: 14px; }
.gm .gm-pd-client h2, .gm .gm-pd-details h2 { font-family: var(--gm-font-body); }
.gm .gm-pd-client__who { display: flex; align-items: center; gap: 12px; }
.gm .gm-pd-client__name { display: flex; flex-direction: column; min-width: 0; }
.gm .gm-pd-client__name strong { font-size: 16px; font-weight: 600; }
.gm .gm-pd-client__ver { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--gm-teal); }
.gm .gm-pd-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gm .gm-pd-facts dt { font-size: 12.5px; color: var(--gm-muted); }
.gm .gm-pd-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gm .gm-pd-facts--list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.gm .gm-pd-facts--list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--gm-line); }
.gm .gm-pd-facts--list > div:first-child { border-top: 0; padding-top: 0; }
.gm .gm-pd-facts--list dd { margin: 0; text-align: right; font-size: 14px; }
.gm .gm-pd-facts--list dt { font-size: 14px; }
.gm .gm-pd-related { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.gm .gm-pd-related__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.gm .gm-pd-related__list { display: flex; flex-direction: column; gap: 16px; }

/* ---------- My projects / My proposals ---------- */
.gm .gm-mp-flash { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: var(--gm-red-wash); color: var(--gm-red); font-size: 14.5px; font-weight: 600; }
.gm .gm-mp-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; padding: 8px 20px 0; border-bottom: 1px solid var(--gm-line); }
.gm .gm-mp-tabs { flex: 1 1 auto; border-bottom: 0; }
.gm .gm-mp-search { width: 260px; margin-bottom: 10px; }
.gm .gm-mp-list { transition: opacity .15s; }
.gm .gm-mp-list.is-loading { opacity: .55; }
.gm .gm-mp-item { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 20px 24px; border-top: 1px solid var(--gm-line); }
.gm .gm-mp-item:first-child { border-top: 0; }
.gm .gm-mp-item__main { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gm .gm-mp-item__chips { gap: 6px; }
.gm .gm-mp-item__title { font-family: var(--gm-font-body); font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.gm .gm-mp-item__title a { color: var(--gm-ink); text-decoration: none; }
.gm .gm-mp-item__title a:hover { color: var(--gm-coral-ink); text-decoration: underline; }
.gm .gm-mp-item__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--gm-muted); }
.gm .gm-mp-item__side { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 0; }
.gm .gm-mp-item__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.gm .gm-mp-bids { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--gm-ink-2); }
.gm .gm-mp-bid { display: flex; flex-direction: column; align-items: flex-end; }
.gm .gm-mp-bid__amt { font-family: var(--gm-font-display); font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; }
.gm .gm-mp-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--gm-sunken); font-size: 14px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-mp-note .gm-svg { margin-top: 2px; color: var(--gm-muted); }
.gm .gm-mp-hires { flex: 1 1 100%; list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--gm-line); display: flex; flex-direction: column; gap: 8px; }
.gm .gm-mp-hire { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; }
.gm .gm-mp-hire__name { font-weight: 600; }
.gm .gm-mp-hire__rating { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; color: var(--gm-ink-2); }
.gm .gm-mp-hire__rating .gm-svg { color: var(--gm-amber); fill: currentColor; }
.gm .gm-mp-hire__links { margin-left: auto; display: inline-flex; gap: 14px; }
.gm .gm-mp-hire__links .gm-link { font-size: 14px; }
.gm .gm-mp-menu { position: relative; }
.gm .gm-mp-menu > summary { list-style: none; cursor: pointer; }
.gm .gm-mp-menu > summary::-webkit-details-marker { display: none; }
.gm .gm-mp-menu__pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; padding: 6px; background: var(--gm-surface); border: 1px solid var(--gm-line); border-radius: 12px; box-shadow: var(--gm-shadow-raised); display: flex; flex-direction: column; }
.gm .gm-mp-menu__pop button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; text-align: left; font: 500 14px var(--gm-font-body); color: var(--gm-ink); cursor: pointer; }
.gm .gm-mp-menu__pop button:hover { background: var(--gm-sunken); }
.gm .gm-mp-menu__pop button.is-danger { color: var(--gm-red); }
.gm .gm-mp-empty { padding: 40px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--gm-ink-2); }
.gm .gm-mp-empty p { margin: 0; max-width: 520px; }

/* ---------- Send a proposal ---------- */
.gm .gm-sp { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.gm .gm-sp-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gm .gm-sp-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gm .gm-sp-head { display: flex; flex-direction: column; gap: 6px; }
.gm .gm-sp-head p { margin: 0; overflow-wrap: anywhere; }
.gm .gm-sp-alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--gm-amber-wash); color: var(--gm-amber); font-weight: 600; font-size: 14.5px; }
.gm .gm-sp-card { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.gm .gm-sp-sub { margin: -8px 0 0; font-size: 14.5px; }
.gm .gm-sp-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--gm-blue-wash); color: var(--gm-ink); font-size: 14.5px; }
.gm .gm-sp-note .gm-svg { color: var(--gm-blue); margin-top: 2px; }
.gm .gm-sp-fees { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--gm-sunken); display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.gm .gm-sp-fees > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-sp-fees dd { margin: 0; }
.gm .gm-sp-fees .is-total { padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--gm-line-strong); font-weight: 600; color: var(--gm-teal); font-size: 15px; }
.gm .gm-sp-payfixed { margin: 0; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-sp-ms { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.gm .gm-sp-ms__row { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--gm-line); border-radius: 12px; background: var(--gm-paper); }
.gm .gm-sp-ms__num { flex: 0 0 26px; height: 26px; margin-top: 9px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gm-teal-wash); color: var(--gm-teal); font-size: 13px; font-weight: 700; }
.gm .gm-sp-ms__fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gm .gm-sp-ms__line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gm .gm-sp-ms__title { flex: 3 1 200px; min-width: 0; }
.gm .gm-sp-ms__price { flex: 1 1 120px; min-width: 0; }
.gm .gm-sp-ms__desc { min-height: 64px; }
.gm .gm-sp-ms__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gm .gm-sp-review { display: flex; flex-direction: column; gap: 14px; }
.gm .gm-sp-review__block { padding: 16px; border: 1px solid var(--gm-line); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.gm .gm-sp-review__block p { margin: 0; }
.gm .gm-sp-review__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gm .gm-sp-review__head h3 { font-family: var(--gm-font-body); font-size: 15px; font-weight: 600; }
.gm .gm-sp-review__text { font-size: 14.5px; color: var(--gm-ink-2); overflow-wrap: anywhere; max-height: 280px; overflow-y: auto; }
.gm .gm-sp-review__amt { font-family: var(--gm-font-display); font-weight: 600; font-size: 26px; font-variant-numeric: tabular-nums; }
.gm .gm-sp-review__ms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.gm .gm-sp-review__ms li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.gm .gm-sp-review__net { color: var(--gm-teal); font-weight: 600; font-size: 14px; }
.gm .gm-sp-linkbtn { border: 0; background: none; padding: 4px; cursor: pointer; font: 600 14px var(--gm-font-body); }
.gm .gm-sp-actions { margin-top: 4px; }
.gm .gm-sp-proj { display: flex; flex-direction: column; gap: 12px; }
.gm .gm-sp-proj__title { font-family: var(--gm-font-body); font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.gm .gm-sp-proj__title a { color: var(--gm-ink); text-decoration: none; }
.gm .gm-sp-proj__title a:hover { color: var(--gm-coral-ink); text-decoration: underline; }
.gm .gm-sp-proj__budget { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: var(--gm-sunken); }
.gm .gm-sp-proj__amt { font-family: var(--gm-font-display); font-weight: 600; font-size: 22px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gm .gm-sp-safe { display: flex; gap: 10px; align-items: flex-start; background: var(--gm-teal-wash); border-color: transparent; color: var(--gm-teal); }
.gm .gm-sp-safe p { margin: 0; font-size: 14px; }
.gm .gm-sp-safe .gm-svg { margin-top: 2px; }

/* ---------- Proposal detail ---------- */
.gm .gm-pdl { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.gm .gm-pdl-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gm .gm-pdl-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gm .gm-pdl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.gm .gm-pdl-head__who { flex: 999 1 360px; display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.gm .gm-pdl-head__av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.gm .gm-pdl-head__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gm .gm-pdl-head__chips { gap: 6px; }
.gm .gm-pdl-head__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 14px; color: var(--gm-ink-2); }
.gm .gm-pdl-rating { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.gm .gm-pdl-rating .gm-svg { color: var(--gm-amber); fill: currentColor; }
.gm .gm-pdl-head__price { flex: 1 1 160px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.gm .gm-pdl-head__amt { font-family: var(--gm-font-display); font-weight: 600; font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gm .gm-pdl-ms__list { list-style: none; margin: 0; padding: 0; }
.gm .gm-pdl-ms__row { display: flex; gap: 12px; align-items: flex-start; padding: 16px 24px; border-top: 1px solid var(--gm-line); }
.gm .gm-pdl-ms__row .gm-sp-ms__num { margin-top: 0; }
.gm .gm-pdl-ms__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 15px; }
.gm .gm-pdl-ms__text p { margin: 0; font-size: 14px; color: var(--gm-ink-2); overflow-wrap: anywhere; }
.gm .gm-pdl-ms__amt { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.gm .gm-pdl-letter { display: flex; flex-direction: column; gap: 12px; }
.gm .gm-pdl-act { display: flex; flex-direction: column; gap: 12px; }
.gm .gm-pdl-act h2 { font-family: var(--gm-font-body); }
.gm .gm-pdl-act__lede { margin: 0; font-size: 14.5px; color: var(--gm-ink-2); }
.gm .gm-pdl-act__compare { font-size: 14px; }
.gm .gm-pdl-decline > summary { list-style: none; }
.gm .gm-pdl-decline > summary::-webkit-details-marker { display: none; }
.gm .gm-pdl-decline[open] > summary { margin-bottom: 12px; }
.gm .gm-pdl-decline__body { gap: 8px; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 1024px) {
  .gm .gm-post-rail { position: static; }
}
@media (max-width: 768px) {
  .gm .gm-post { padding-top: 24px; padding-bottom: 56px; }
  .gm .gm-post-title { font-size: 30px; }
  .gm .gm-post-progress { align-items: flex-start; }
  .gm .gm-post-step { padding: 20px 16px; }
  .gm .gm-post-step__hint, .gm .gm-post-summary { margin-left: 0; padding-left: 0; }
  .gm .gm-post-grid { grid-template-columns: minmax(0, 1fr); }
  .gm .gm-post-help-row { flex-direction: column; gap: 2px; }
  .gm .gm-post-hdr__label { display: none; }
  .gm .gm-post-actions__right { width: 100%; }
  .gm .gm-post-actions__right .gm-btn { flex: 1 1 auto; }
  .gm .gm-post-pcard__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm .gm-pd-title { font-size: 30px; }
  .gm .gm-pd-budget__amt { font-size: 26px; }
  .gm .gm-mp-tools { padding: 8px 16px 0; }
  .gm .gm-mp-search { width: 100%; }
  .gm .gm-mp-item { padding: 16px; }
  .gm .gm-mp-item__side { align-items: flex-start; }
  .gm .gm-mp-item__actions { justify-content: flex-start; }
  .gm .gm-mp-bid { align-items: flex-start; }
  .gm .gm-mp-hire__links { margin-left: 0; }
  .gm .gm-mp-menu__pop { right: auto; left: 0; }
  .gm .gm-pc-frow { padding: 14px 16px; flex-wrap: wrap; }
  .gm .gm-pc-frow__actions { margin-left: 62px; }
  .gm .gm-pdl-head__price { align-items: flex-start; text-align: left; }
  .gm .gm-pdl-ms__row { padding: 14px 16px; }
  .gm .gm-sp-ms__row { padding: 12px; }
  .gm .gm-sp-ms__num { display: none; }
}
