/* Leveling guide additions; loaded after /wiki/job-quests/guide.css */
h3 { color: #17384b; font-family: Georgia, serif; margin: 1.2rem 0 .5rem; }
.lead { font-size: 1.08rem; }
.toc { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 1rem 0 1.4rem; padding: .6rem .85rem; background: #fffdf7; border: 1px solid #ddd8ca; border-radius: .45rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .65rem; margin: 1.2rem 0; }
.facts div { background: #fffdf7; border: 1px solid #ddd8ca; border-radius: .45rem; padding: .55rem .8rem; }
.facts dt { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b5a2e; }
.facts dd { margin: .15rem 0 0; }
.builds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .8rem; }
.builds article { background: #fffdf7; border: 1px solid #ddd8ca; border-left: 4px solid #166078; border-radius: .45rem; padding: .2rem .95rem .4rem; }
.builds h3 { margin-top: .7rem; font-size: 1.05rem; }
#route td:first-child { white-space: nowrap; }
code { background: #ede9db; padding: .05rem .3rem; border-radius: .25rem; font-size: .92em; }
footer { max-width: 58rem; margin: 2rem auto 0; padding: 1rem clamp(1rem, 4vw, 2.5rem) 2rem; border-top: 1px solid #ddd8ca; font-size: .85rem; color: #55636c; }
@media (max-width: 40rem) {
    .stack table, .stack tbody, .stack tr, .stack td { display: block; width: auto; }
    .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .stack table { background: none; }
    .stack tr { background: #fffdf7; border: 1px solid #ddd8ca; border-radius: .45rem; margin-bottom: .75rem; padding: .35rem 0; }
    .stack td { border: 0; padding: .3rem .8rem; }
    .stack td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b5a2e; }
    #route td:first-child { white-space: normal; }
}
