.pro-page {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 88px;
}

/* Grid and flex layouts must respect the loading and empty-state toggles. */
.pro-page [hidden] {
    display: none !important;
}

.pro-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.82fr);
    gap: 36px;
    align-items: end;
    padding: 40px;
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
    border: var(--border) solid var(--ink);
    border-radius: 26px;
    box-shadow: 5px 5px 0 rgba(26, 46, 53, 0.32);
}

.pro-hero::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -90px;
    top: -118px;
    border: 26px solid var(--accent);
    border-radius: 50%;
    opacity: 0.9;
    pointer-events: none;
}

.pro-hero-copy,
.pro-filters {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.pro-kicker,
.pro-section-number,
.pro-method-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.pro-kicker {
    margin-bottom: 16px;
    color: var(--accent);
}

.pro-hero h1 {
    max-width: 720px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.pro-lede {
    max-width: 670px;
    margin-top: 24px;
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
    line-height: 1.35;
}

.pro-explainer {
    margin-top: 12px;
    color: rgba(255, 255, 245, 0.68);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.5;
}

.pro-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    background: var(--paper);
    color: var(--ink);
    border: var(--border) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 4px 4px 0 var(--accent);
}

.pro-field-market {
    grid-column: auto;
}

.pro-field-genre {
    grid-column: 1 / -1;
}

.pro-history {
    margin-top: 24px;
    padding: 20px;
    border: var(--border) solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
    font: 400 0.85rem/1.5 var(--font-sans);
    overflow-wrap: anywhere;
}

.pro-history h2 { font-size: 1.2rem; }
.pro-history-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: var(--radius-pill);
    color: var(--paper);
    background: var(--teal);
    font: 700 0.7rem/1.3 var(--font-sans);
}
.pro-history p { margin-top: 8px; }
.pro-history summary { padding: 12px 0; cursor: pointer; font-weight: 700; }
.pro-history ul { padding-left: 20px; }
.pro-history li { margin-bottom: 8px; }
.pro-history a { color: var(--teal); }

.pro-retry {
    min-height: 44px;
    margin-left: 12px;
    padding: 8px 16px;
    border: 2px solid currentColor;
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}

.pro-field,
.pro-sort {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.pro-field > span,
.pro-sort > span {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pro-field > span small {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.pro-field-hint {
    margin-top: -2px;
    color: var(--text-muted);
    font: 600 0.58rem/1.3 var(--font-sans);
}

.pro-field select,
.pro-field input,
.pro-sort select {
    width: 100%;
    min-height: 46px;
    padding: 9px 38px 9px 12px;
    border: 2px solid var(--ink);
    border-radius: 10px;
    background: white;
    color: var(--ink);
    font: 700 0.82rem/1.2 var(--font-sans);
    cursor: pointer;
    outline: none;
}

.pro-field input {
    padding-right: 12px;
    cursor: text;
}

.pro-field select:focus-visible,
.pro-field input:focus-visible,
.pro-sort select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.pro-field select:disabled,
.pro-field input:disabled {
    cursor: wait;
    opacity: 0.65;
}

.pro-field.is-disabled > span { color: #676767; }
.pro-field.is-disabled input:disabled {
    background: #e5e5e5;
    border-color: #999;
    color: #666;
    cursor: not-allowed;
    opacity: 1;
}

.pro-venue-retry {
    align-self: start;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--ink);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    cursor: pointer;
}

.pro-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    margin: 18px auto -6px;
    color: var(--ink);
    font: 700 0.78rem/1.3 var(--font-sans);
}

.pro-status[hidden] {
    display: none;
}

.pro-status.is-error {
    color: #8b231f;
}

.pro-loading-dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--accent);
    animation: pro-pulse 0.9s ease-in-out infinite alternate;
}

@keyframes pro-pulse {
    to { transform: scale(0.6); opacity: 0.45; }
}

.pro-section {
    margin-top: 58px;
}

.pro-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.pro-section-number {
    margin-bottom: 8px;
    padding: 5px 9px;
    color: white;
    background: var(--teal);
    border: 2px solid var(--ink);
    border-radius: var(--radius-pill);
}

.pro-section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3.45rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.pro-section-heading > div { min-width: 0; }

.pro-section-heading > p {
    max-width: 470px;
    padding-bottom: 4px;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: right;
}

.pro-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pro-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 380px;
    padding: 16px;
    background: var(--paper);
    border: var(--border) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pro-feature-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 9px;
    background: var(--accent);
    border-bottom: 2px solid var(--ink);
}

.pro-feature-card.is-possible::before {
    background: #f0c96c;
}

.pro-pick-card::before { background: var(--teal); }
.pro-pick-dates { margin-top: 18px; }
.pro-pick-dates h4 { margin-bottom: 8px; font: 800 0.75rem/1.3 var(--font-sans); }
.pro-pick-note, .pro-pick-signals { margin: 14px 0; font: 400 0.8rem/1.5 var(--font-sans); overflow-wrap: anywhere; }
.pro-pick-note { padding: 12px; border-left: 3px solid var(--teal); background: rgba(61, 107, 125, 0.08); }

.pro-feature-head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

.pro-feature-image,
.pro-row-image {
    display: block;
    object-fit: cover;
    background: rgba(61, 107, 125, 0.14);
    border: 2px solid var(--ink);
}

.pro-feature-image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.pro-feature-name {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
}

.pro-feature-genre {
    margin-top: 7px;
    color: var(--text-muted);
    font: 700 0.74rem/1.2 var(--font-sans);
}

.pro-preview-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 32px;
    margin-top: 7px;
    padding: 5px 10px 5px 5px;
    color: var(--ink);
    background: rgba(255, 126, 73, 0.12);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    text-align: left;
    cursor: pointer;
    transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.pro-preview-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 126, 73, 0.23);
}

.pro-preview-button:focus-visible,
.pro-preview-player button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.pro-preview-button.is-playing {
    color: var(--paper);
    background: var(--ink);
}

.pro-preview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    padding-left: 1px;
    color: var(--paper);
    background: var(--teal);
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    font-size: 0.56rem;
    line-height: 1;
}

.pro-preview-icon svg,
.pro-preview-player-toggle svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

.pro-preview-player-toggle svg {
    width: 17px;
    height: 17px;
}

.pro-preview-button.is-playing .pro-preview-icon {
    color: var(--ink);
    background: var(--accent);
}

.pro-preview-button-copy {
    min-width: 0;
}

.pro-preview-button-copy strong,
.pro-preview-button-copy span {
    display: block;
}

.pro-preview-button-copy strong {
    font-size: 0.64rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pro-preview-button-copy span {
    max-width: 150px;
    margin-top: 2px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.6rem;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pro-preview-button.is-playing .pro-preview-button-copy span {
    color: rgba(255, 255, 245, 0.72);
}

.pro-preview-button.is-compact {
    min-height: 30px;
    margin-top: 6px;
    padding: 3px 8px 3px 3px;
}

.pro-preview-button.is-compact .pro-preview-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 0.48rem;
}

.pro-preview-button.is-compact .pro-preview-button-copy span {
    max-width: 115px;
}

.pro-opportunity-label,
.pro-status-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 800;
}

.pro-opportunity-label {
    margin: 0;
    padding: 5px 9px;
    background: var(--accent);
    font-size: 0.68rem;
}

.is-possible .pro-opportunity-label {
    background: #f0c96c;
}

.pro-card-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 10px;
}

.pro-venue-fit-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 9px;
    color: var(--paper);
    background: var(--teal);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-pill);
    font: 800 0.62rem/1 var(--font-sans);
    letter-spacing: 0.02em;
}

.pro-venue-match-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 9px;
    color: var(--paper);
    background: var(--teal);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-pill);
    font: 800 0.62rem/1 var(--font-sans);
    letter-spacing: 0.02em;
}

.pro-venue-match-chip.excellent-venue-match {
    background: #245e46;
}

.pro-venue-match-chip.possible-venue-match {
    color: var(--ink);
    background: #f0c96c;
}

.pro-venue-match-chip.weak-venue-match,
.pro-venue-match-chip.insufficient-history {
    color: var(--ink);
    background: rgba(61, 107, 125, 0.12);
}

.pro-venue-match-chip.is-compact {
    display: flex;
    margin-top: 6px;
    padding: 4px 7px;
    font-size: 0.56rem;
}

.pro-venue-fit-chip.possible-venue-fit,
.pro-venue-fit-chip.size-uncertain {
    color: var(--ink);
    background: #f0c96c;
}

.pro-venue-fit-chip.likely-too-large,
.pro-venue-fit-chip.likely-too-small {
    background: #9b3b31;
}

.pro-venue-fit-chip.is-compact {
    display: flex;
    margin-top: 6px;
    padding: 4px 7px;
    font-size: 0.56rem;
}

.pro-route {
    position: relative;
    display: grid;
    gap: 4px;
    margin: 0 0 10px;
    padding-left: 16px;
}

.pro-route::before {
    content: '';
    position: absolute;
    top: 19px;
    bottom: 19px;
    left: 5px;
    width: 2px;
    background: var(--ink);
}

.pro-route-stop {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 30px;
    padding: 4px 8px;
    border: 1.5px solid rgba(26, 46, 53, 0.28);
    border-radius: 10px;
    font: 700 0.77rem/1.25 var(--font-sans);
}

.pro-route-stop::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    left: -18px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
}

.pro-route-stop.is-missing {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.pro-route-stop.is-missing::before {
    background: var(--accent);
}

.pro-route-city {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pro-route-venue {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pro-feature-card .pro-route-venue {
    display: none;
}

.pro-pick-dates .pro-route-stop { margin-top: 6px; padding: 8px; }
.pro-pick-dates .pro-route-stop::before { display: none; }
.pro-pick-dates .pro-route-city, .pro-pick-dates .pro-route-venue { white-space: normal; overflow-wrap: anywhere; }
.pro-pick-dates .pro-route-venue { display: block; }

.is-missing .pro-route-venue {
    color: rgba(255, 255, 245, 0.66);
}

.pro-window {
    margin-bottom: 10px;
    padding: 8px 10px;
    background: rgba(255, 126, 73, 0.14);
    border: 1.5px dashed var(--ink);
    border-radius: 10px;
    font: 700 0.75rem/1.35 var(--font-sans);
}

.pro-why {
    margin: 0 0 9px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    font: 600 0.68rem/1.32 var(--font-sans);
}

.pro-why > strong {
    display: block;
    margin-bottom: 5px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.pro-why ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pro-why li {
    position: relative;
    padding-left: 16px;
}

.pro-why li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 900;
}

.pro-routing-details {
    margin: 0 0 10px;
    border-top: 1px solid rgba(26, 46, 53, 0.25);
    border-bottom: 1px solid rgba(26, 46, 53, 0.25);
    font-family: var(--font-sans);
}

.pro-routing-details summary {
    padding: 7px 2px;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
}

.pro-routing-details dl {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 2px 2px 8px;
}

.pro-routing-details dl div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.pro-routing-details dt,
.pro-routing-details dd {
    margin: 0;
    font-size: 0.64rem;
    line-height: 1.3;
}

.pro-routing-details dt {
    color: var(--text-muted);
}

.pro-routing-details dd {
    font-weight: 700;
    text-align: right;
}

.pro-routing-details p {
    margin: 0 2px 9px;
    color: var(--text-muted);
    font-size: 0.6rem;
    line-height: 1.35;
}

.pro-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pro-fact {
    padding: 4px 7px;
    color: var(--ink);
    background: rgba(61, 107, 125, 0.1);
    border: 1px solid rgba(26, 46, 53, 0.45);
    border-radius: var(--radius-pill);
    font: 700 0.65rem/1.2 var(--font-sans);
}

.pro-similar {
    min-height: 30px;
    margin-top: 9px;
    color: var(--text-muted);
    font: 600 0.69rem/1.5 var(--font-sans);
}

.pro-similar strong {
    color: var(--ink);
}

.pro-venue-example-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.pro-venue-example {
    padding: 3px 7px;
    color: var(--ink);
    background: rgba(61, 107, 125, 0.1);
    border: 1px solid rgba(26, 46, 53, 0.4);
    border-radius: var(--radius-pill);
    font-size: 0.62rem;
    font-weight: 700;
}

.pro-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: auto;
    padding: 8px 14px;
    color: var(--paper);
    background: var(--teal);
    border: 2px solid var(--ink);
    border-radius: var(--radius-pill);
    box-shadow: 2px 2px 0 var(--ink);
    font: 800 0.74rem/1 var(--font-sans);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pro-card-action:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--ink);
}

.pro-table-heading {
    align-items: end;
}

.pro-sort {
    width: 210px;
}

.pro-sort select {
    background: var(--paper);
}

.pro-results-meta {
    min-height: 20px;
    margin: -7px 0 14px;
    color: var(--text-muted);
    font: 600 0.72rem/1.4 var(--font-sans);
}

.pro-table-wrap {
    overflow-x: auto;
    background: var(--paper);
    border: var(--border) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pro-table {
    width: 100%;
    min-width: 980px;
    table-layout: fixed;
    border-collapse: collapse;
    font-family: var(--font-sans);
}

.pro-table th {
    padding: 14px 13px;
    background: var(--ink);
    color: var(--paper);
    font-size: 12px;
    letter-spacing: 0;
    text-align: left;
    text-transform: uppercase;
}

.pro-table td {
    padding: 13px;
    border-bottom: 1.5px solid rgba(26, 46, 53, 0.25);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.pro-table th:nth-child(1) { width: 20%; }
.pro-table th:nth-child(2) { width: 21%; }
.pro-table th:nth-child(3) { width: 17%; }
.pro-table th:nth-child(4) { width: 13%; }
.pro-table th:nth-child(5) { width: 29%; }
.pro-table th:last-child { width: 108px; }

.pro-table .pro-row-artist { min-width: 0; align-items: flex-start; }
.pro-table .pro-row-artist > div { min-width: 0; }
.pro-table .pro-row-name { font-size: 16px; }
.pro-table .pro-row-genre,
.pro-table .pro-muted,
.pro-table .pro-nearby-date small,
.pro-table .pro-nearby-toggle-label { font-size: 12px; }
.pro-table .pro-status-chip { font-size: 11px; border-radius: 6px; }
.pro-table .pro-row-link { font-size: 12px; padding: 6px 8px; }
.pro-table .pro-preview-button { max-width: 100%; }

.pro-row-details { margin-top: 10px; }
.pro-match-facts {
    margin: 12px 0;
    padding-left: 20px;
    list-style: disc;
    line-height: 1.5;
}
.pro-match-facts li { margin: 5px 0; }
.pro-row-details > summary {
    color: var(--teal);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}
.pro-row-details[open] > summary { margin-bottom: 10px; }
.pro-row-details p { font-size: 13px; line-height: 1.45; }
.pro-row-details .pro-routing-details { font-size: 12px; }

.pro-table tbody tr:last-child td {
    border-bottom: 0;
}

.pro-table tbody tr:hover {
    background: rgba(255, 126, 73, 0.08);
}

.pro-nearby-dates {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
}

button.pro-nearby-dates {
    padding: 7px;
    color: inherit;
    background: rgba(61, 107, 125, 0.06);
    border: 1px dashed rgba(26, 46, 53, 0.42);
    border-radius: 9px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

button.pro-nearby-dates:hover {
    background: rgba(255, 126, 73, 0.13);
    border-color: var(--ink);
}

button.pro-nearby-dates:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.pro-nearby-date {
    display: block;
    width: 100%;
}

.pro-nearby-date[hidden] {
    display: none;
}

.pro-nearby-date small {
    display: block;
    margin-top: 1px;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.63rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pro-nearby-toggle-label {
    display: inline-flex;
    margin-top: 2px;
    color: var(--teal);
    font-size: 0.64rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pro-row-artist {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
}

.pro-row-image {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
}

.pro-row-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 0.87rem;
    font-weight: 800;
}

.pro-row-genre,
.pro-muted {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.66rem;
}

.pro-status-chip {
    padding: 5px 8px;
    background: rgba(240, 201, 108, 0.55);
    font-size: 0.62rem;
    line-height: 1.15;
}

.pro-status-chip.is-strong {
    background: var(--accent);
}

.pro-status-chip.is-market {
    background: rgba(61, 107, 125, 0.15);
}

.pro-status-chip.is-nearby {
    background: rgba(88, 200, 120, 0.35);
}

.pro-row-link {
    display: inline-flex;
    padding: 7px 10px;
    color: var(--ink);
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-pill);
    font-size: 0.65rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.pro-table-loading {
    height: 170px;
    color: var(--text-muted) !important;
    text-align: center;
}

.pro-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    background: rgba(255, 255, 245, 0.68);
    border: 2px dashed var(--ink);
    border-radius: var(--radius);
    font-family: var(--font-sans);
}

.pro-empty[hidden] {
    display: none;
}

.pro-empty strong {
    font-family: var(--font-serif);
    font-size: 1.02rem;
}

.pro-empty span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.pro-method {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 24px;
    margin-top: 50px;
    padding: 24px;
    color: var(--paper);
    background: var(--teal);
    border: var(--border) solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pro-method-label {
    padding-top: 4px;
    color: #f4d178;
}

.pro-method p {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    line-height: 1.6;
}

.pro-preview-player {
    position: fixed;
    z-index: 1200;
    left: 50%;
    bottom: 22px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 42px 34px;
    gap: 11px;
    align-items: center;
    width: min(560px, calc(100% - 32px));
    min-height: 70px;
    padding: 9px 10px;
    overflow: hidden;
    color: var(--paper);
    background: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 16px;
    box-shadow: 5px 5px 0 rgba(255, 126, 73, 0.75);
    transform: translateX(-50%);
}

.pro-preview-player[hidden] {
    display: none;
}

.pro-preview-player-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    background: var(--paper);
    border: 1.5px solid var(--paper);
    border-radius: 10px;
}

.pro-preview-player-copy {
    min-width: 0;
    font-family: var(--font-sans);
}

.pro-preview-player-copy strong,
.pro-preview-player-copy > span:last-child {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pro-preview-player-copy strong {
    font-family: var(--font-serif);
    font-size: 0.86rem;
}

.pro-preview-player-copy > span:last-child {
    margin-top: 3px;
    color: rgba(255, 255, 245, 0.68);
    font-size: 0.67rem;
}

.pro-preview-player-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--accent);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.pro-preview-player-toggle,
.pro-preview-player-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--paper);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.pro-preview-player-toggle {
    width: 40px;
    height: 40px;
    background: var(--teal);
    border: 1.5px solid var(--paper);
    border-radius: 50%;
    font-size: 0.72rem;
}

.pro-preview-player-close {
    width: 30px;
    height: 30px;
    color: rgba(255, 255, 245, 0.72);
    font: 700 1.25rem/1 var(--font-sans);
}

.pro-preview-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 245, 0.16);
}

.pro-preview-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--accent);
}

.city-picker-close {
    font: 700 1.6rem/1 var(--font-sans);
}

.city-picker-body .city-picker-option {
    width: 100%;
    color: var(--ink);
    font-family: var(--font-sans);
    text-align: left;
}

.city-picker-body .city-picker-option > span:first-child {
    min-width: 0;
}

.city-picker-body .metro-name,
.city-picker-body .metro-cities {
    display: block;
}

.pro-picker-empty {
    padding: 24px;
    color: var(--text-muted);
    font: 700 0.8rem/1.4 var(--font-sans);
    text-align: center;
}

@media (max-width: 1080px) {
    .pro-hero {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

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

    .pro-field-market {
        grid-column: auto;
    }

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

@media (max-width: 767px) {
    .pro-page {
        width: min(100% - 24px, 620px);
        padding: 20px 0 calc(var(--bottom-nav-clearance) + 42px);
    }

    .pro-hero {
        gap: 26px;
        padding: 26px 20px 24px;
        border-radius: 20px;
    }

    .pro-hero h1 {
        font-size: clamp(1.65rem, 8vw, 3rem);
    }

    .pro-filters {
        grid-template-columns: minmax(0, 1fr);
        padding: 14px;
    }

    .pro-field input,
    .pro-field select,
    .pro-sort select { font-size: 16px; }

    .pro-field-market {
        grid-column: auto;
    }

    .pro-section {
        margin-top: 42px;
    }

    .pro-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .pro-section-heading > p {
        text-align: left;
    }

    .pro-featured-grid {
        grid-template-columns: 1fr;
    }

    .pro-feature-card {
        min-height: 0;
    }

    .pro-card-action {
        margin-top: 20px;
    }

    .pro-preview-player {
        bottom: calc(var(--bottom-nav-clearance) + 10px);
        grid-template-columns: 42px minmax(0, 1fr) 38px 28px;
        gap: 9px;
        width: calc(100% - 20px);
        min-height: 62px;
        padding: 8px;
        border-radius: 14px;
    }

    .pro-preview-player-image {
        width: 42px;
        height: 42px;
    }

    .pro-preview-player-toggle {
        width: 36px;
        height: 36px;
    }

    .pro-sort {
        width: 100%;
    }

    .pro-table-wrap {
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .pro-table {
        display: block;
        min-width: 0;
    }

    .pro-table thead {
        display: none;
    }

    .pro-table tbody {
        display: grid;
        gap: 12px;
    }

    .pro-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
        background: var(--paper);
        border: var(--border) solid var(--ink);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .pro-table td {
        display: block;
        padding: 0;
        border: 0;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .pro-table td:first-child,
    .pro-table td:nth-child(5),
    .pro-table td:last-child,
    .pro-table-loading {
        grid-column: 1 / -1;
    }

    .pro-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--text-muted);
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .pro-table td:first-child::before,
    .pro-table td:last-child::before,
    .pro-table-loading::before {
        display: none;
    }

    .pro-row-link {
        display: flex;
        justify-content: center;
        min-height: 40px;
        align-items: center;
    }

    .pro-method {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 38px;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pro-loading-dot,
    .pro-preview-button {
        animation: none;
        transition: none;
    }
}
.pro-ranking-summary p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0;
}
.pro-research-profile {
    padding: 20px 0;
    margin: 20px 0;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    overflow-wrap: anywhere;
}
.pro-research-profile h2 { font-size: 19px; margin: 0 0 8px; }
.pro-research-profile p, .pro-research-profile li { font-size: 13px; line-height: 1.5; margin: 8px 0; }
.pro-research-profile summary { cursor: pointer; font-size: 13px; }

/* Shared search workspace; the two modes change inputs, not layout. */
.pro-mode-tabs { display: flex; gap: 24px; border-bottom: 2px solid var(--ink); margin-bottom: 24px; }
.pro-mode-tabs button {
    padding: 14px 2px; border: 0; border-bottom: 4px solid transparent; background: transparent;
    color: var(--ink); font: 700 18px var(--font-sans); cursor: pointer;
}
.pro-mode-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); }
.pro-mode-tabs button:focus-visible, .pro-more-filters summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.pro-hero { display: block; padding: 0 0 28px; background: transparent; color: var(--ink); border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.pro-hero::after { display: none; }
.pro-kicker { color: var(--teal); font-size: 12px; letter-spacing: 0; }
.pro-hero h1 { font-size: 32px; letter-spacing: 0; line-height: 1.2; text-transform: none; }
.pro-lede { margin-top: 12px; font: 400 16px/1.5 var(--font-sans); max-width: 800px; }
.pro-explainer { color: var(--text-muted); font-size: 13px; }
.pro-filters { margin-top: 24px; padding: 20px 0 0; grid-template-columns: repeat(3,minmax(0,1fr)); background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; box-shadow: none; gap: 18px; }
.pro-field-genre { grid-column: auto; }
.pro-wide { grid-column: 1 / -1; }
.pro-field > span, .pro-sort > span { font-size: 12px; letter-spacing: 0; }
.pro-field > span small { font-size: 11px; letter-spacing: 0; }
.pro-field-hint { font-size: 12px; font-weight: 400; }
.pro-field input, .pro-field select, .pro-field textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); font: 400 15px/1.4 var(--font-sans); }
.pro-field textarea { resize: vertical; }
.pro-more-filters { border-top: 1px solid rgba(26,46,53,.3); padding-top: 16px; font: 400 14px var(--font-sans); }
.pro-more-filters summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.pro-advanced-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding-top: 18px; }
.pro-weekdays { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.pro-weekdays legend { margin-bottom: 10px; font-weight: 700; }
.pro-weekdays label { display: flex; align-items: center; gap: 6px; min-height: 36px; }
.pro-search-actions { display: flex; gap: 16px; align-items: center; }
.pro-search-actions button, .pro-search-summary button, .pro-research-notice button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); font: 700 14px var(--font-sans); cursor: pointer; }
.pro-search-actions .pro-find { background: var(--ink); color: var(--paper); min-width: 160px; }
.pro-search-summary { padding: 18px 0; border-block: 1px solid rgba(26,46,53,.4); font: 400 14px/1.6 var(--font-sans); }
.pro-search-summary ul { padding-left: 20px; }
.pro-search-summary button { margin-top: 12px; }
.pro-research-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px 0; font: 400 14px/1.4 var(--font-sans); }
.pro-section-heading h2, #proOtherTitle { font-size: 28px; letter-spacing: 0; line-height: 1.2; }
.pro-feedback { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pro-feedback button { padding: 6px 9px; min-height: 36px; border: 1px solid rgba(26,46,53,.4); border-radius: 4px; background: transparent; color: var(--ink); font: 600 12px var(--font-sans); cursor: pointer; }
.pro-feedback button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pro-feedback-status { width: 100%; font: 400 12px/1.4 var(--font-sans); }
.pro-feedback-reasons { width: 100%; font: 400 12px/1.4 var(--font-sans); }
.pro-feedback-reasons select { max-width: 100%; min-height: 36px; }
@media (max-width: 700px) {
    .pro-page { width: calc(100% - 32px); padding-top: 24px; }
    .pro-hero h1 { font-size: 27px; }
    .pro-filters, .pro-advanced-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pro-field-venue { grid-column: 1 / -1; }
    .pro-field-market { grid-column: 1 / -1; }
    .pro-field select { font-size: 13px; }
    .pro-mode-tabs { gap: 20px; }
    .pro-mode-tabs button { font-size: 16px; }
    .pro-section-heading h2 { font-size: 24px; }
}
@media (max-width: 380px) {
    .pro-filters, .pro-advanced-grid { grid-template-columns: minmax(0,1fr); }
}
