/* ——— Services page + request flow ——— */
.svc-h1 { margin: 0 0 0.75rem; color: var(--ink); font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.svc-steps { display: grid; gap: 0.75rem; grid-template-columns: 1fr; margin: 0 0 2rem; padding: 0; list-style: none; }
.svc-steps h2 { margin: 0.2rem 0 0.3rem; font-size: 1.02rem; font-weight: 650; letter-spacing: -0.01em; }
.svc-steps p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.svc-layout { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
.svc-list { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.svc-search { display: flex; flex-direction: column; gap: 0.35rem; }
.svc-search[hidden] { display: none; }
.svc-search-label, .req-field label, .req-field legend { color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.svc-input { box-sizing: border-box; width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.svc-input:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 1px; }
.svc-note { margin: 0.2rem 0 0.4rem; color: var(--subtle); font-size: 0.85rem; }
.svc-cat { padding: 0; }
.svc-cat[hidden] { display: none; }
.svc-cat summary { display: flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1rem; cursor: pointer; list-style: none; }
.svc-cat summary::-webkit-details-marker { display: none; }
.svc-cat summary::after { content: "+"; margin-left: auto; color: var(--orange-ink); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.svc-cat[open] summary::after { content: "–"; }
.svc-cat summary .icon { color: var(--orange); }
.svc-cat-name { color: var(--ink); font-size: 1.02rem; font-weight: 650; letter-spacing: -0.01em; }
.svc-num { color: var(--orange-ink); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; margin-right: 0.25rem; }
.svc-count { color: var(--subtle); font-size: 0.8rem; white-space: nowrap; }
.svc-profs { margin: 0; padding: 0 1rem 0.6rem; list-style: none; border-top: 1px solid var(--line); }
.svc-prof { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.svc-prof:last-child { border-bottom: none; }
.svc-prof[hidden] { display: none; }
.svc-prof h3 { margin: 0; color: var(--ink); font-size: 0.98rem; font-weight: 600; }
.svc-subs { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.svc-lic { margin: 0.2rem 0 0; color: var(--subtle); font-size: 0.8rem; }
.svc-req { flex: 0 0 auto; min-height: 2.4rem; padding: 0.45rem 0.95rem; font-size: 0.9rem; }
.svc-cta { margin: 1.25rem 0 0; }
.svc-request { position: relative; }
.svc-request h2 { margin: 0 0 0.6rem; font-size: 1.3rem; }
.req-preview { margin: 0 0 0.9rem; padding: 0.6rem 0.75rem; border-radius: 8px; background: #fdf1e7; color: #6b3200; font-size: 0.85rem; line-height: 1.45; }
.req-stepper { display: flex; gap: 0.4rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.8rem; color: var(--subtle); }
.req-stepper li { display: flex; align-items: center; gap: 0.35rem; flex: 1; }
.req-stepper span { display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1.5px solid var(--line-strong); font-weight: 650; font-size: 0.75rem; }
.req-stepper .now { color: var(--ink); font-weight: 650; }
.req-stepper .now span, .req-stepper .done span { border-color: var(--orange); background: var(--orange); color: #fff; }
.req-field { display: flex; flex-direction: column; gap: 0.35rem; margin: 0 0 0.8rem; border: 0; padding: 0; min-width: 0; }
.req-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.req-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.req-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; border: 1px solid var(--line-strong); border-radius: var(--radius-full); font-size: 0.85rem; cursor: pointer; }
.req-chip:has(input:checked) { border-color: var(--orange); background: #fdf1e7; }
.req-btn { width: 100%; margin-top: 0.5rem; }
.req-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.4rem; }
.req-actions .btn { flex: 1 1 8rem; }
.req-err { margin: 0 0 0.8rem; color: #b91c1c; font-size: 0.9rem; font-weight: 600; }
.req-flash { margin: 0 0 0.8rem; padding: 0.5rem 0.7rem; border-radius: 8px; background: #eef2f6; font-size: 0.88rem; }
.req-hint { color: var(--subtle); font-size: 0.82rem; }
.req-picked { margin: 0 0 0.8rem; color: var(--muted); }
.req-picked strong { color: var(--ink); }
.req-summary { margin: 0 0 0.9rem; }
.req-summary h3 { margin: 0.1rem 0 0.3rem; font-size: 1.15rem; }
.req-id { margin: 0; color: var(--subtle); font-size: 0.8rem; font-weight: 600; }
.req-desc { margin: 0 0 0.6rem; color: var(--muted); font-size: 0.92rem; }
.req-summary dl { margin: 0; }
.req-summary dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; }
.req-summary dt { color: var(--subtle); }
.req-summary dd { margin: 0; text-align: right; color: var(--ink); }
.req-timeline { margin: 0 0 1rem; padding: 0; list-style: none; }
.req-timeline li { position: relative; display: grid; grid-template-columns: 1.4rem 1fr; column-gap: 0.6rem; padding-bottom: 0.85rem; }
.req-timeline li:not(:last-child)::before { content: ""; position: absolute; left: 0.6rem; top: 1.1rem; bottom: 0; width: 2px; background: var(--line); }
.req-timeline li.done:not(:last-child)::before { background: var(--orange); }
.req-timeline .dot { grid-row: span 2; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; box-sizing: border-box; }
.req-timeline .done .dot, .req-timeline .now .dot { border-color: var(--orange); background: var(--orange); }
.req-timeline .now .dot { box-shadow: 0 0 0 4px #ffd9c2; }
.req-timeline .t { color: var(--subtle); font-size: 0.92rem; font-weight: 600; }
.req-timeline .done .t, .req-timeline .now .t { color: var(--ink); }
.req-timeline .now .t { font-weight: 700; }
.req-timeline .at { color: var(--subtle); font-size: 0.78rem; }
.req-off { margin: -0.4rem 0 1rem; color: #b91c1c; font-weight: 650; font-size: 0.9rem; }
.req-wait { margin: 0 0 0.8rem; font-size: 0.92rem; }
.req-demo { margin: 0.4rem 0 0.8rem; padding: 0.9rem; border: 1px dashed var(--line-strong); border-radius: 10px; background: #f8f6f2; }
.req-demo .kicker { margin-bottom: 0.6rem; }
.req-quote { margin: 0 0 0.6rem; padding: 1rem; border-radius: 10px; background: var(--charcoal); color: #fff; text-align: center; }
.req-quote p { margin: 0; color: #e5e7eb; font-size: 0.9rem; }
.req-quote .amt { margin: 0.2rem 0; color: #fff; font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }
.req-done { margin: 0 0 0.6rem; color: #15803d; font-weight: 650; }
.req-mine { margin: 1.2rem 0 0.4rem; }
.req-list { margin: 0; padding: 0; list-style: none; }
.req-list button { width: 100%; padding: 0.45rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 0.88rem; text-align: left; cursor: pointer; }
.req-list button[aria-current] { font-weight: 650; }
.req-list em { color: var(--orange-ink); font-style: normal; }
@media (min-width: 640px) { .svc-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .svc-steps { grid-template-columns: repeat(4, 1fr); }
  .svc-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .svc-request { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; }
}
/* ——— Worker portal ——— */
.pro-as { margin: 0 0 1rem; }
.pro-as .kicker { display: block; margin-bottom: 0.4rem; }
.req-chip.on { border-color: var(--orange); background: #fdf1e7; font-weight: 600; }
button.req-chip { background: #fff; font: inherit; font-size: 0.85rem; color: var(--ink); }
.pro-layout { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
.section .pro-h { margin: 0.6rem 0 0.3rem; font-size: 1rem; font-weight: 650; }
.pro-list button { padding: 0.55rem 0.6rem; border-radius: 8px; line-height: 1.4; }
.pro-list button[aria-current] { background: #fdf1e7; }
.pro-detail h3 { margin: 0.1rem 0 0.3rem; font-size: 1.2rem; }
.req-portal { margin: 0.2rem 0 0.4rem; font-size: 0.9rem; }
@media (min-width: 900px) { .pro-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
