/* fluxo.css — telas em passos (publicar serviço, pedir serviço, pedir orçamento). Cores e fonte do tema.css (--t-*) */
.pub-body { background: var(--t-bg, #0d0a16); color: var(--t-text, #fff); font-family: var(--t-font, 'Onest', system-ui, sans-serif); }
.pub-body .material-symbols-rounded { font-variation-settings: 'FILL' 1, 'wght' 500; }
.pub { width: min(680px, 100%); margin: 0 auto; padding: 20px 20px 120px; }
[hidden] { display: none !important; }

/* ---------- Topo ---------- */
.pub-top { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.pub-icon-btn { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--t-surface, #19142a); color: #fff; cursor: pointer; transition: background .15s; }
.pub-icon-btn:hover { background: var(--t-raised, #241d3a); }
.pub-top__progress { flex: 1; display: grid; gap: 8px; }
.pub-top__step { font-size: 13px; font-weight: 600; color: var(--t-muted, #ada6c2); }
.pub-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pub-steps i { height: 5px; border-radius: 3px; background: var(--t-raised, #241d3a); overflow: hidden; position: relative; }
.pub-steps i::after { content: ""; position: absolute; inset: 0; background: var(--t-lilac, #c6b2ff); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pub-steps i.is-done::after { transform: scaleX(1); }

/* ---------- Passos ---------- */
.pub-stage { position: relative; }
.pub-panel { display: none; }
.pub-panel.is-active { display: grid; gap: 22px; animation: pub-in-next .38s cubic-bezier(.2, .8, .2, 1); }
.pub-stage.is-back .pub-panel.is-active { animation-name: pub-in-back; }
@keyframes pub-in-next { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes pub-in-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }

.pub-title { margin: 0; font-size: clamp(26px, 5vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.pub-sub { margin: -14px 0 4px; font-size: 15px; color: var(--t-muted, #ada6c2); }

.pub-field { display: grid; gap: 8px; }
.pub-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; }
.pub-hint { font-size: 13px; color: var(--t-muted, #ada6c2); transition: color .2s; }
.pub-hint.is-ok { color: #8ee6a8; }
.pub-hint.is-bad { color: #ff9b9b; }

.pub-input { width: 100%; min-height: 54px; padding: 0 16px; border: 2px solid transparent; border-radius: 14px; background: var(--t-surface, #19142a); color: #fff; font: inherit; font-size: 16px; outline: none; transition: border-color .15s, background .15s; }
.pub-input::placeholder { color: #7d7592; }
.pub-input:focus { border-color: var(--t-lilac, #c6b2ff); background: var(--t-raised, #241d3a); }
.pub-input.is-invalid { border-color: #ff8a8a; animation: pub-shake .35s; }
@keyframes pub-shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.pub-textarea { min-height: 170px; padding: 14px 16px; line-height: 1.55; resize: vertical; }

/* Categorias com ícone */
.pub-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pub-cat { display: grid; justify-items: start; gap: 10px; min-height: 92px; padding: 14px; border: 2px solid transparent; border-radius: 16px; background: var(--t-surface, #19142a); color: #fff; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.pub-cat .material-symbols-rounded { font-size: 26px; color: var(--t-lilac, #c6b2ff); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.pub-cat:hover { background: var(--t-raised, #241d3a); }
.pub-cat:active { transform: scale(.97); }
.pub-cat.is-active { border-color: var(--t-lilac, #c6b2ff); background: var(--t-raised, #241d3a); }
.pub-cat.is-active .material-symbols-rounded { transform: scale(1.15); }
/* Categoria de outro serviço ativo do prestador: dá para ver, mas avisa ao escolher */
.pub-cat.is-taken { opacity: .5; }
.pub-cat.is-taken.is-active { opacity: 1; border-color: var(--t-amber, #fcba04); }

/* Preço */
.pub-price { position: relative; display: block; }
.pub-price__prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; color: var(--t-muted, #ada6c2); pointer-events: none; }
.pub-input--price { padding-left: 50px; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Modalidade */
.pub-modes { display: grid; gap: 10px; }
.pub-mode { display: grid; grid-template-columns: 44px minmax(0, 1fr) 22px; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid transparent; border-radius: 16px; background: var(--t-surface, #19142a); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.pub-mode__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--t-raised, #241d3a); color: var(--t-lilac, #c6b2ff); }
.pub-mode__text { display: grid; gap: 2px; }
.pub-mode__text strong { font-size: 15px; }
.pub-mode__text small { font-size: 13px; color: var(--t-muted, #ada6c2); }
.pub-mode__check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #4a4166; transition: border-color .15s, background .15s, box-shadow .15s; }
.pub-mode:hover { background: var(--t-raised, #241d3a); }
.pub-mode.is-active { border-color: var(--t-lilac, #c6b2ff); }
.pub-mode.is-active .pub-mode__check { border-color: var(--t-lilac, #c6b2ff); background: var(--t-lilac, #c6b2ff); box-shadow: inset 0 0 0 4px var(--t-surface, #19142a); }

/* Localização */
.pub-where { display: grid; gap: 18px; animation: pub-fade .3s ease; }
@keyframes pub-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pub-quick { display: grid; grid-template-columns: minmax(0, 1fr) auto 150px; align-items: center; gap: 10px; }
.pub-quick__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--t-raised, #241d3a); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s; }
.pub-quick__btn .material-symbols-rounded { color: var(--t-lilac, #c6b2ff); }
.pub-quick__btn:hover { background: #2f2650; }
.pub-quick__btn:disabled { opacity: .7; cursor: progress; }
.pub-quick__or { font-size: 13px; color: var(--t-muted, #ada6c2); }
.pub-cep { display: flex; align-items: center; gap: 6px; min-height: 50px; padding: 0 12px; border: 2px solid transparent; border-radius: 14px; background: var(--t-surface, #19142a); transition: border-color .15s; }
.pub-cep:focus-within { border-color: var(--t-lilac, #c6b2ff); }
.pub-cep .material-symbols-rounded { font-size: 20px; color: var(--t-muted, #ada6c2); }
.pub-cep input { width: 100%; min-width: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; outline: none; font-variant-numeric: tabular-nums; }

.pub-combo { position: relative; }
.pub-combo__box { position: relative; display: block; }
.pub-combo__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--t-muted, #ada6c2); pointer-events: none; }
.pub-input--icon { padding-left: 46px; padding-right: 44px; }
.pub-combo__ok { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #8ee6a8; animation: pub-pop .3s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pub-pop { from { transform: translateY(-50%) scale(.3); opacity: 0; } }
.pub-combo__list { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--t-raised, #241d3a); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); max-height: 300px; overflow-y: auto; animation: pub-fade .18s ease; }
.pub-combo__list li { display: flex; justify-content: space-between; gap: 10px; padding: 12px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; }
.pub-combo__list li small { color: var(--t-muted, #ada6c2); font-weight: 600; }
.pub-combo__list li[aria-selected="true"], .pub-combo__list li:hover { background: #342b55; }
.pub-combo__list .pub-combo__empty { color: var(--t-muted, #ada6c2); cursor: default; }
.pub-combo__list .pub-combo__empty:hover { background: none; }

.pub-place { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--t-muted, #ada6c2); animation: pub-fade .25s ease; }
.pub-place::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: pub-spin .8s linear infinite; }
.pub-place[data-tone="ok"] { color: #8ee6a8; }
.pub-place[data-tone="ok"]::before { content: "✓"; display: grid; place-items: center; border: 0; background: #8ee6a8; color: #0d0a16; font-size: 12px; font-weight: 800; animation: none; }
.pub-place[data-tone="bad"] { color: #ff9b9b; }
.pub-place[data-tone="bad"]::before { content: "!"; display: grid; place-items: center; border: 0; background: #ff9b9b; color: #0d0a16; font-size: 12px; font-weight: 800; animation: none; }
@keyframes pub-spin { to { transform: rotate(360deg); } }

.pub-map { height: 220px; border-radius: 18px; overflow: hidden; background: var(--t-surface, #19142a); animation: pub-fade .3s ease; }
.pub-map.maplibregl-map { width: 100%; height: 220px; }

.pub-radius-value { font-size: 15px; color: var(--t-lilac, #c6b2ff); font-variant-numeric: tabular-nums; }
.pub-range { width: 100%; height: 28px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.pub-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--t-lilac, #c6b2ff) var(--fill, 10%), var(--t-raised, #241d3a) var(--fill, 10%)); }
.pub-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 0; transition: transform .15s; }
.pub-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.pub-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--t-raised, #241d3a); }
.pub-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--t-lilac, #c6b2ff); }
.pub-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; }
.pub-range:focus-visible { outline: 2px solid var(--t-lilac, #c6b2ff); outline-offset: 4px; border-radius: 4px; }

.pub-online { display: flex; gap: 12px; margin: 0; padding: 16px; border-radius: 16px; background: var(--t-surface, #19142a); font-size: 14px; line-height: 1.5; color: var(--t-muted, #ada6c2); animation: pub-fade .3s ease; }
.pub-online .material-symbols-rounded { color: var(--t-lilac, #c6b2ff); }

/* Fotos */
.pub-drop { display: grid; justify-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed #3d3459; border-radius: 18px; background: var(--t-surface, #19142a); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.pub-drop:hover, .pub-drop.is-over { border-color: var(--t-lilac, #c6b2ff); background: var(--t-raised, #241d3a); }
.pub-drop .material-symbols-rounded { font-size: 36px; color: var(--t-lilac, #c6b2ff); }
.pub-drop strong { font-size: 16px; }
.pub-drop small { font-size: 13px; color: var(--t-muted, #ada6c2); }
.pub-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.pub-photos:empty { display: none; }
.pub-photo { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--t-surface, #19142a); animation: pub-pop-in .3s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes pub-pop-in { from { opacity: 0; transform: scale(.85); } }
.pub-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-photo__cover { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(13, 10, 22, .8); font-size: 11px; font-weight: 700; }
.pub-photo__del { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(13, 10, 22, .8); color: #fff; cursor: pointer; }
.pub-photo__del .material-symbols-rounded { font-size: 18px; }

/* Especialidades */
.pub-tag-input { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 8px; }
.pub-tag-add { border: 0; border-radius: 14px; background: var(--t-raised, #241d3a); color: #fff; cursor: pointer; }
.pub-tags, .pub-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-tags:empty, .pub-suggest:empty { display: none; }
.pub-tag { display: inline-flex; align-items: center; gap: 4px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--t-raised, #241d3a); font-size: 14px; font-weight: 600; animation: pub-pop-in .25s cubic-bezier(.3, 1.4, .5, 1); }
.pub-tag button { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--t-muted, #ada6c2); cursor: pointer; }
.pub-tag button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pub-tag .material-symbols-rounded { font-size: 16px; }
.pub-suggest button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px dashed #4a4166; border-radius: 999px; background: none; color: var(--t-muted, #ada6c2); font: inherit; font-size: 13px; cursor: pointer; transition: color .15s, border-color .15s; }
.pub-suggest button:hover { color: #fff; border-color: var(--t-lilac, #c6b2ff); }
.pub-suggest .material-symbols-rounded { font-size: 16px; }

/* ---------- Botões ---------- */
.pub-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 22px; border: 0; border-radius: 16px; background: var(--t-raised, #241d3a); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s, transform .1s; }
.pub-btn:active { transform: scale(.98); }
.pub-btn--primary { background: var(--t-amber, #fcba04); color: var(--t-on-amber, #170b33); }
.pub-btn--primary:hover { background: #ffc933; }
.pub-btn:disabled { opacity: .75; cursor: progress; }
.pub-btn:focus-visible, .pub-icon-btn:focus-visible, .pub-cat:focus-visible, .pub-mode:focus-visible, .pub-quick__btn:focus-visible { outline: 2px solid var(--t-lilac, #c6b2ff); outline-offset: 2px; }

.pub-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(13, 10, 22, 0), var(--t-bg, #0d0a16) 30%); }
.pub-next { width: min(640px, 100%); margin: 0 auto; display: flex; }
.pub-next__icon { transition: transform .2s; }
.pub-next:hover .pub-next__icon { transform: translateX(4px); }
.pub-next.is-loading .pub-next__icon { animation: pub-spin .8s linear infinite; }

/* Limite do plano */
.pub-lock { display: grid; justify-items: center; gap: 12px; padding: 40px 20px; border-radius: 24px; background: var(--t-surface, #19142a); text-align: center; animation: pub-fade .3s ease; }
.pub-lock__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--t-raised, #241d3a); color: var(--t-amber, #fcba04); font-size: 30px; }
.pub-lock h1 { margin: 6px 0 0; font-size: 24px; }
.pub-lock p { margin: 0; max-width: 440px; font-size: 15px; line-height: 1.55; color: var(--t-muted, #ada6c2); }
.pub-lock__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.pub.is-locked .pub-stage, .pub.is-locked .pub-foot, .pub.is-locked .pub-top__progress { visibility: hidden; }

/* Aviso */
.pub-toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px; background: #fff; color: #170b33; font-size: 14px; font-weight: 600; transform: translateX(-50%); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); animation: pub-toast .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pub-toast { from { opacity: 0; transform: translate(-50%, 12px); } }

@media (max-width: 560px) {
    .pub { padding: 14px 16px 120px; }
    .pub-top { margin-bottom: 24px; }
    .pub-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pub-quick { grid-template-columns: 1fr; }
    .pub-quick__or { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .pub *, .pub *::before, .pub *::after, .pub-toast { animation: none !important; transition: none !important; }
}

/* ---------- Telas de pedido ---------- */
/* Para quem vai o pedido */
.pub-who { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--t-surface, #19142a); animation: pub-fade .3s ease; }
.pub-who__avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--t-raised, #241d3a); }
.pub-who__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pub-who__text strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-who__text span { font-size: 13px; color: var(--t-muted, #ada6c2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pub-who__price { text-align: right; font-size: 12px; color: var(--t-muted, #ada6c2); white-space: nowrap; }
.pub-who__price strong { display: block; font-size: 16px; color: #fff; font-variant-numeric: tabular-nums; }
.pub-notice { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(198, 178, 255, .1); color: #e2d8ff; font-size: 14px; line-height: 1.45; }
.pub-notice .material-symbols-rounded { color: var(--t-lilac, #c6b2ff); font-size: 20px; }

/* Opções em pílula (orçamento) */
.pub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-chip { min-height: 42px; padding: 0 16px; border: 2px solid transparent; border-radius: 999px; background: var(--t-surface, #19142a); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.pub-chip:hover { background: var(--t-raised, #241d3a); }
.pub-chip:active { transform: scale(.97); }
.pub-chip.is-active { border-color: var(--t-lilac, #c6b2ff); background: var(--t-raised, #241d3a); }
.pub-chip:focus-visible { outline: 2px solid var(--t-lilac, #c6b2ff); outline-offset: 2px; }

.pub-date { animation: pub-fade .25s ease; }
.pub-date input { color-scheme: dark; }

/* Resumo antes de enviar */
.pub-summary { margin: 0; display: grid; gap: 2px; border-radius: 18px; overflow: hidden; }
.pub-summary > div { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 14px 16px; background: var(--t-surface, #19142a); }
.pub-summary .material-symbols-rounded { grid-row: span 2; font-size: 22px; color: var(--t-lilac, #c6b2ff); }
.pub-summary dt { font-size: 13px; color: var(--t-muted, #ada6c2); }
.pub-summary dd { grid-column: 2; margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.pub-summary button { grid-column: 3; grid-row: 1 / span 2; border: 0; background: none; color: var(--t-lilac, #c6b2ff); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Pedido enviado */
.pub-done { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(13, 10, 22, .92); animation: pub-fade .25s ease; }
.pub-done__card { display: grid; justify-items: center; gap: 10px; text-align: center; }
.pub-done__check { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--t-amber, #fcba04); color: var(--t-on-amber, #170b33); animation: pub-pop-big .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pub-pop-big { from { transform: scale(.3); opacity: 0; } }
.pub-done__check .material-symbols-rounded { font-size: 46px; font-variation-settings: 'FILL' 1, 'wght' 700; }
.pub-done h2 { margin: 8px 0 0; font-size: 26px; }
.pub-done p { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.5; color: var(--t-muted, #ada6c2); }
.pub-steps--3 { grid-template-columns: repeat(3, 1fr); }
.pub-drop--sm { padding: 20px 16px; }
.pub-drop--sm .material-symbols-rounded { font-size: 30px; }
.pub-label small { font-weight: 500; }
.pub-textarea--sm { min-height: 110px; }

/* Limite de pedidos abertos (pedir-servico) */
.pub-limit { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 18px; background: rgba(252, 186, 4, .08); border: 1px solid rgba(252, 186, 4, .35); animation: pub-fade .25s ease; }
.pub-limit[hidden] { display: none; }
.pub-limit__icon { font-size: 22px; color: var(--t-amber, #fcba04); }
.pub-limit__body { display: grid; gap: 6px; min-width: 0; }
.pub-limit__body strong { font-size: 15.5px; }
.pub-limit__body p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--t-muted, #ada6c2); }
.pub-limit__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pub-limit__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.pub-limit__btn.is-primary { background: var(--t-amber, #fcba04); border-color: var(--t-amber, #fcba04); color: #1a1426; }
.pub-limit__btn:disabled { opacity: .6; cursor: wait; }

/* O que você vai precisar (publicar serviço): título à esquerda e passos numerados à direita, como o Airbnb */
.pub.is-intro { width: min(1080px, 100%); }
.pub.is-intro .pub-stage, .pub.is-intro .pub-foot, .pub.is-intro .pub-top__progress { display: none; }
.pub-need { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; padding: 32px 0 120px; animation: pub-fade .35s ease; }
.pub-need[hidden] { display: none; }
.pub-need__head { display: grid; gap: 12px; align-content: start; }
.pub-need__eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 6px 12px; border-radius: 999px; background: rgba(252, 186, 4, .12); color: var(--t-amber, #fcba04); font-size: 14px; font-weight: 700; }
.pub-need__eyebrow .material-symbols-rounded { font-size: 18px; }
.pub-need__title { margin: 0; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.pub-need__title:focus { outline: none; }
.pub-need__lead { margin: 0; max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--t-muted, #ada6c2); }
.pub-need__free { margin: 4px 0 0; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #cfc6e2; }
.pub-need__free .material-symbols-rounded { color: #4ade80; font-size: 20px; }
.pub-need__list { margin: 0; padding: 0; list-style: none; display: grid; }
.pub-need__row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 88px; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(198, 178, 255, .12); }
.pub-need__row:first-child { border-top: 0; padding-top: 0; }
.pub-need__num { align-self: start; font-size: 20px; font-weight: 800; line-height: 1.3; color: var(--t-amber, #fcba04); }
.pub-need__text { display: grid; gap: 6px; min-width: 0; }
.pub-need__text h2 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 800; }
.pub-need__text p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--t-muted, #ada6c2); }
.pub-need__opt { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--t-raised, #241d3a); color: var(--t-muted, #ada6c2); font-size: 12px; font-weight: 700; vertical-align: 3px; }
.pub-need__art { width: 88px; height: auto; }
.pub-need__state { justify-self: start; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(74, 222, 128, .14); color: #4ade80; font-size: 14px; font-weight: 700; }
.pub-need__state[hidden] { display: none; }
.pub-need__state.is-todo { border: 0; background: var(--t-amber, #fcba04); color: var(--t-on-amber, #170b33); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pub-need__state.is-todo:focus-visible { outline: 2px solid var(--t-lilac, #c6b2ff); outline-offset: 2px; }
/* Barra fixa com o botão, como no Airbnb */
.pub-need__bar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; justify-content: flex-end; padding: 14px max(20px, calc((100vw - 1080px) / 2 + 20px)) calc(14px + env(safe-area-inset-bottom)); background: rgba(13, 10, 22, .94); border-top: 1px solid rgba(198, 178, 255, .12); backdrop-filter: blur(8px); }
.pub-need__go { min-width: 200px; }
@media (max-width: 860px) {
    .pub-need { grid-template-columns: 1fr; gap: 20px; padding-top: 4px; }
    .pub-need__title { font-size: clamp(32px, 9vw, 40px); }
    .pub-need__row { grid-template-columns: 24px minmax(0, 1fr) 64px; gap: 12px; padding: 16px 0; }
    .pub-need__art { width: 64px; }
    .pub-need__text h2 { font-size: 17px; }
    .pub-need__go { width: 100%; }
}
/* Quantos prestadores atendem aqui (pedir serviço) */
.pub-supply { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(74, 222, 128, .1); color: #c9f5d9; font-size: 15px; line-height: 1.5; }
.pub-supply::before { content: "group"; font-family: "Material Symbols Rounded"; font-size: 20px; color: #4ade80; }
.pub-supply.is-empty { background: rgba(252, 186, 4, .1); color: #fde9b0; }
.pub-supply.is-empty::before { content: "info"; color: var(--t-amber, #fcba04); }
.pub-supply[hidden] { display: none; }
