/* Approved profession draft: the site's own cards, colours and map pictures. */
.prof-alpha { margin: 0 0 22px; padding: 12px 16px; border-radius: 14px; background: #fdecc8; color: #80530a; font-size: .95rem; }
.prof-alpha strong { color: #5f3d06; }
.prof-h2 { font-size: 1.25rem; color: var(--wiki-ink); margin: 28px 0 12px; }
.prof-lead { color: #4b5563; font-size: .95rem; max-width: 80ch; margin: 8px 0 16px; }
.prof-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.prof-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--wiki-line); border-radius: 14px; background: var(--wiki-tint); font-size: .9rem; color: #374151; }
.prof-steps b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--wiki-accent); color: #fff; font-size: .8rem; }
.prof-tiles { grid-template-columns: repeat(4,minmax(0,1fr)); }
.prof-tile { align-items: flex-start; }
.prof-kind { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--wiki-accent); margin: 3px 0 4px; }
.prof-towns { display: block; font-size: .8rem; color: var(--wiki-ink); margin-top: 6px; }
.prof-detail { scroll-margin-top: 90px; }
.prof-item { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; max-width: 100%; }
.prof-item a { color: var(--wiki-ink); overflow-wrap: anywhere; }
.prof-item .wiki-icon { flex: none; }
.prof-tool-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prof-count { display: inline-block; flex: none; font-size: .75rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--wiki-tint); color: var(--wiki-ink); }
.prof-dot { flex: none; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1px solid rgba(0,0,0,.2); border-radius: 50%; }
.prof-table-wrap { min-width: 0; max-width: 100%; }
.prof-table { width: 100%; table-layout: fixed; }
.prof-table caption { text-align: left; color: var(--wiki-ink); font-weight: 700; padding: 12px 0; }
.prof-table td { vertical-align: top; overflow-wrap: anywhere; }
.prof-table .wiki-item-ingredients { margin: 0; }
.prof-table .wiki-item-ingredients li { flex-wrap: wrap; }
.prof-places { margin: 0; padding: 0; list-style: none; }
.prof-places li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 3px 0; }
.prof-places .prof-item { font-weight: 500; }
.prof-maps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.prof-map-card { min-width: 0; }
.prof-map-card h3 { margin: 0 0 12px; }
.prof-map-picture { position: relative; width: 100%; aspect-ratio: 1; margin: 0; overflow: visible; }
.prof-map-picture img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.prof-pin { position: absolute; z-index: 1; transform: translate(-50%,-50%); width: 9px; height: 9px; min-width: 0; min-height: 0; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #3378c5; box-shadow: 0 0 0 1px rgba(0,0,0,.45); cursor: help; }
.prof-pin-master, .prof-pin-station { z-index: 2; width: 22px; height: 22px; border: 2px solid #fff; font: 700 11px/1 system-ui,sans-serif; color: #fff; background: #80530a; }
.prof-pin-station { border-radius: 4px; background: #17324a; }
.prof-pin:focus-visible { z-index: 3; outline: 3px solid #fff; box-shadow: 0 0 0 5px #17324a; }
.prof-map-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 12px 0 0; font-size: .8rem; }
.prof-map-legend li { display: flex; align-items: center; min-width: 0; }
.prof-nomap { font-size: .9rem; color: #4b5563; }
.prof-masters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; }
.prof-masters > li { min-width: 0; border: 1px solid var(--wiki-line); padding: 14px; border-radius: 14px; }
.prof-catch { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.prof-catch-list { list-style: none; margin: 0; padding: 0; }
.prof-catch-list li { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid var(--wiki-line); font-size: .82rem; }
.prof-catch-list li:first-child { border-top: 0; }
.prof-catch-list .prof-item { font-weight: 500; gap: 6px; }
@media (max-width: 1100px) {
  .prof-tiles,.prof-steps,.prof-catch { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .prof-tiles,.prof-steps,.prof-maps,.prof-catch,.prof-masters { grid-template-columns: minmax(0,1fr); }
  .prof-table,.prof-table tbody,.prof-table tr,.prof-table td { display: block; width: 100%; min-width: 0; }
  .prof-table { border: 0; table-layout: auto; }
  .prof-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .prof-table tr { margin: 0 0 14px; padding: 8px 12px; border: 1px solid var(--wiki-line); border-radius: 14px; background: #fff; }
  .prof-table td { padding: 8px 0; border: 0; box-sizing: border-box; }
  .prof-table td::before { content: attr(data-label); display: block; margin-bottom: 5px; font-weight: 700; font-size: .75rem; text-transform: uppercase; color: #6b7280; }
  .prof-table .prof-item { max-width: 100%; }
  .prof-table .wiki-item-ingredients li { flex-wrap: wrap; }
  .prof-table .prof-places li { margin: 5px 0; }
}
.prof-extras { list-style: none; padding: 0; margin: 4px 0 0; }
.prof-extras li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 3px 0; }
@media (max-width: 760px) {
  .prof-table caption { display: block; width: 100%; box-sizing: border-box; }
  .prof-tile { flex-direction: row !important; }
}
