.market-topbar #account-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.25;
}
.market-topbar #account-menu > summary::after { content: none; }
.account-chevron { display: block; flex: 0 0 auto; }
#account-menu[open] .account-chevron { transform: rotate(180deg); }

.provider-profile-columns { gap: clamp(20px, 3.5vw, 44px); }
.provider-service-column, .profile-aside { min-width: 0; }
@media (min-width: 821px) {
  .profile-layout.provider-profile-columns { grid-template-columns: minmax(215px, 285px) minmax(0, 1fr); }
  .provider-profile-columns > .provider-service-column { grid-area: 1 / 2; }
  .provider-profile-columns > .profile-aside { grid-area: 1 / 1; }
}
@media (min-width: 681px) and (max-width: 820px) {
  .profile-layout.provider-profile-columns { grid-template-columns: minmax(0, 1fr); }
}

.gig-provider-card { background: #f7faf6; border: 1px solid #dce7d9; border-radius: 14px; padding: clamp(16px, 3vw, 24px); display: grid; gap: 12px; }
.gig-provider-card h2, .gig-provider-card h3, .gig-provider-card p { margin: 0; }
.gig-provider-card h3 a { color: inherit; text-decoration: none; }
.gig-provider-card h3 a:hover { text-decoration: underline; }
.gig-provider-heading { display: flex; align-items: center; gap: 13px; }
.gig-provider-heading > div { min-width: 0; }
.gig-provider-avatar { width: 60px; height: 60px; flex: none; display: grid; place-items: center; background: #eaf3e7; color: #205541; border-radius: 50%; overflow: hidden; text-decoration: none; font-weight: 700; }
.gig-provider-avatar img { width: 100%; height: 100%; object-fit: contain; background: white; }
.gig-provider-card .gig-provider-meta { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 13px; color: #4b665a; margin-top: 4px; }
.gig-verified { color: #236149; font-weight: 650; }

.gig-studio { max-width: 1100px; margin-inline: auto; width: 100%; }
.gig-studio-heading { margin-bottom: 14px; }
.gig-studio-heading h1 { margin-top: 6px; }
.gig-step-nav { background: #f3f7f1; border: 1px solid #dce7dc; border-radius: 12px; padding: 5px; margin-bottom: 16px; }
.gig-step-nav ol { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; list-style: none; }
.gig-step-nav li { flex: 1 1 auto; }
.gig-step-nav button { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #476358; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.gig-step-nav button > span { display: grid; place-items: center; width: 21px; height: 21px; flex: none; background: #e5ede2; border-radius: 50%; font-size: 11px; }
.gig-step-nav button:hover, .gig-step-nav button[aria-current] { background: white; border-color: #dce7dc; color: #143e32; }
.gig-step-nav button[aria-current] > span { background: #205d48; color: #fff; }
.gig-step-nav button.step-complete { color: #236549; }
.gig-step-nav button.step-complete > span { background: #d8eedb; }
.listing-editor.gig-step-form { max-width: none; }
.gig-studio-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 235px); align-items: start; gap: 16px; }
.gig-stage { min-width: 0; }
.gig-stage-card { gap: 14px; }
.gig-stage-card h2 { font-size: 22px; margin-bottom: 4px; }
.gig-stage-card label { min-width: 0; }
.gig-editor-guide { border-radius: 12px; padding: 16px; border: 1px solid #dce7dc; background: #f2f7ef; color: #214d3d; }
.gig-editor-guide p { margin: 7px 0 0; font-size: 13px; line-height: 1.55; color: #4c665b; }
.gig-editor-buttons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 12px 0 4px; }
.gig-editor-buttons [data-gig-back] { margin-inline-end: auto; }
.gig-editor-actions .notice { margin-top: 12px; }
.gig-guided-field { position: relative; min-width: 0; }
.gig-guided-field > label { padding-top: 2px; }
.gig-field-help { position: absolute; top: 0; right: 0; z-index: 1; }
.gig-step-form .gig-optional { margin: 0; }
.gig-field-help button { width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #e9f3e8; color: #235846; font: inherit; font-size: 12px; font-weight: 700; cursor: help; }
.gig-field-help [role="tooltip"] { position: absolute; inset: 100% 0 auto auto; display: none; width: min(225px, 65vw); background: #fff; border: 1px solid #dce7dc; box-shadow: 0 5px 15px #173e331c; border-radius: 8px; padding: 9px 11px; font-size: 13px; }
.gig-field-help:hover [role="tooltip"], .gig-field-help:focus-within [role="tooltip"] { display: block; }
.gig-field-meta { display: flex; justify-content: space-between; font-size: 12px; color: #526b60; margin-top: -9px; }
.gig-field-section { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.gig-field-section h3, .gig-field-section p { margin: 0; }
.gig-stage-card [data-group="tier"] > [data-rows] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.gig-stage-card [data-group="tier"] > [data-rows]:has(> :only-child) { grid-template-columns: minmax(0,1fr); }
.gig-stage-card [data-listing-row] { min-width: 0; }
.gig-stage-card [data-group="tier"] .listing-row .two { grid-template-columns: minmax(0,1fr); }
.gig-areas .row { max-height: 210px; overflow-y: auto; }
.gig-areas .check { width: auto; background: #f3f7f0; border-radius: 8px; padding: 5px 8px; }
.gig-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.gig-gallery-grid:empty { display: none; }
.gig-gallery-grid figure { margin: 0; }
.gig-gallery-grid figcaption { font-size: 13px; color: #4b665a; }
.gig-gallery-grid img { width: 100%; aspect-ratio: 1.6; object-fit: cover; border-radius: 8px; }
.gig-review-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.gig-review-card > div { padding: 14px; }
.gig-review-card h3, .gig-review-card p { margin: 0; }
.gig-review-cover { width: 100%; max-height: 250px; object-fit: cover; display: block; }
.gig-review-prices { padding: 0; margin: 0; list-style: none; display: grid; gap: 6px; }
.gig-review-prices li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.gig-review-prices li small { display: block; }
.gig-review-prices li p { grid-column: 1 / -1; margin: 0; }
@media (max-width: 720px) {
  .gig-studio-layout { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .gig-editor-guide { grid-row: 1; padding: 10px 12px; }
  .gig-editor-guide p { margin-top: 3px; }
  .gig-step-nav li { flex-basis: 29%; }
  .gig-step-nav button { font-size: 12px; padding: 6px 4px; gap: 4px; }
}
@media (max-width: 500px) {
  .gig-stage-card [data-group="tier"] > [data-rows] { grid-template-columns: minmax(0,1fr); }
  .gig-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
