/* Library book "Vocations" (pages/library/vocations.php) - only the book's own bits; the rest is library.css */

/* the promoted value under the base one */
.lib-frame .lib-vocations-promo{display:block;margin-top:1px;font-size:13px;line-height:1.25;color:var(--lib-meta)}
.lib-frame th .lib-vocations-promo{font-family:var(--ff-body);font-weight:600;letter-spacing:0;text-transform:none}

/* side by side: the row labels stay on one line, the vocation columns share the rest */
.lib-frame .lib-vocations-compare{min-width:640px}
.lib-frame .lib-vocations-compare th[scope=row]{text-align:left;white-space:nowrap;font-weight:700;color:var(--lib-head)}
.lib-frame .lib-vocations-compare td{vertical-align:top}
.lib-frame .lib-vocations-compare thead th:not(:first-child){width:21%}
.lib-frame .lib-vocations-pair{min-width:0}
.lib-frame .lib-vocations-pair thead th:not(:first-child){width:34%}
.lib-frame .lib-vocations-skills th[scope=row]{text-align:left;font-weight:600;white-space:nowrap}
.lib-frame .lib-vocations-ml thead small{font-weight:600;color:rgba(232,214,170,.72)}

/* links and promoted names on the dark table head */
.lib-frame .lib-vocations-compare thead th a.lib-link{color:var(--brass-light)}
.lib-frame .lib-vocations-compare thead th .lib-vocations-promo{color:rgba(232,214,170,.72);font-size:12.5px}

/* the four cards under "Choosing a vocation": under the fact box, one row when there is room */
.lib-frame .lib-vocations-cards{clear:both;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}

/* calculator */
.lib-frame .lib-vocations-calc{margin-bottom:10px}
.lib-frame .lib-vocations-calc input.lib-input{width:96px}
.lib-frame .lib-vocations-calc .lib-stats{flex:0 1 180px}
.lib-frame .lib-vocations-result{max-width:640px}
.lib-frame .lib-vocations-result td{font-size:17px;font-weight:600}

/* by level: four small tables */
.lib-frame .lib-vocations-mile-h{margin:0 0 4px;font-family:var(--ff-head);font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.lib-frame .lib-vocations-levels{min-width:0}

/* promotion terms */
.lib-frame .lib-vocations-terms{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 8px}
