.agent-card { align-items: flex-start; }
.roster-grid .artist-name { padding-bottom: 13px; }
@media (max-width: 760px) {
  .roster-grid .artist-name { padding-bottom: 11px; }
}
.agent-card-content { min-width: 0; flex: 1; }
.agent-card-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 9px; }
.agent-card-actions button, .agent-card-actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 11px; line-height: 1.5; color: #555; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.agent-card-actions button:hover, .agent-card-actions a:hover { color: #111; }
.show-artist-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: #c4c4bf; text-underline-offset: 4px; overflow-wrap: anywhere; max-width: 100%; }
.show-artist-link:hover { text-decoration-color: currentColor; }
.public-route-content { margin-bottom: 28px; padding: 22px; border: 1px solid #e4e4df; border-radius: 8px; background: #fff; }
.public-route-content[hidden] { display: none; }
.public-route-content h1 { margin: 0 0 14px; }
.public-route-content p { max-width: 720px; line-height: 1.7; margin: 12px 0; }
.public-route-content img { display: block; width: min(100%, 360px); height: auto; border-radius: 5px; }
.public-route-content nav, .public-route-content ul { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; list-style: none; margin: 18px 0; }
.public-route-content a { text-decoration: underline; text-underline-offset: 3px; }
.public-route-content a.primary-button { text-decoration: none; }
.artist-dialog-agent a { text-decoration: underline; text-underline-offset: 3px; }

/* Public listings become cards on phones. Keep these rules separate from the
   private Shows register so changes there cannot restore a wide public table. */
@media (max-width: 760px) {
  body[data-public-layout="journeys"] .public-table-wrap { overflow: visible; }
  body[data-public-layout="journeys"] .shows-table,
  body[data-public-layout="journeys"] .shows-table tbody { display: block; width: 100%; min-width: 0; }
  body[data-public-layout="journeys"] .shows-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  body[data-public-layout="journeys"] .shows-table tr { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 7px 13px; padding: 16px 14px; border-bottom: 1px solid #e9e9e4; min-width: 0; }
  body[data-public-layout="journeys"] .shows-table tr:last-child { border-bottom: 0; }
  body[data-public-layout="journeys"] .shows-table td { display: block; min-width: 0; padding: 0; border: 0; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
  body[data-public-layout="journeys"] .shows-table td:nth-child(1) { grid-column: 1; grid-row: 1 / span 4; }
  body[data-public-layout="journeys"] .shows-table td:nth-child(2) { grid-column: 2; grid-row: 1; }
  body[data-public-layout="journeys"] .shows-table td:nth-child(3) { grid-column: 2; grid-row: 2; }
  body[data-public-layout="journeys"] .shows-table td:nth-child(4) { grid-column: 2; grid-row: 3; }
  body[data-public-layout="journeys"] .shows-table td:nth-child(5) { grid-column: 2; grid-row: 4; padding-top: 3px; }
  body[data-public-layout="journeys"] .shows-table td:nth-child(3)::before,
  body[data-public-layout="journeys"] .shows-table td:nth-child(4)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 10px; line-height: 1.5; color: #858585; text-transform: uppercase; letter-spacing: .05em; }
  body[data-public-layout="journeys"] .shows-table td:nth-child(2) strong { font-size: 19px; line-height: 1.25; }
  body[data-public-layout="journeys"] .shows-table time strong { font-size: 13px; }
  body[data-public-layout="journeys"] .shows-table time small { margin-top: 3px; font-size: 11px; }
  body[data-public-layout="journeys"] .shows-table .ticket-link { min-height: 44px; width: 100%; font-size: 13px; padding: 10px 12px; }
  body[data-public-layout="journeys"] .shows-table .tickets-pending { display: block; font-size: 12px; white-space: normal; }
  body[data-public-layout="journeys"] .shows-table td[colspan] { grid-column: 1 / -1; grid-row: auto; padding: 22px 6px; text-align: center; }
}
