/* LibraryCraft item drawings (core/classes/LibraryPreview.php): inline <svg class="cc-dwg lib-dwg">. Loaded after
 * product.css (the site's drawing vocabulary: .k .m .t .cl .hd .tk .fl .dot, text classes) on every page that shows an
 * item — library pages through lib_head_assets(), admin library pages through library/admin-nav.inc.
 * Tokens only (currentColor = --ink), so paper and model themes need nothing extra.
 */
.lib-dwg { color: var(--ink); }
.lib-dwg .hdk, .lib-dwg .cr { fill: none; stroke: currentColor; stroke-linejoin: miter; stroke-linecap: butt; }
.lib-dwg .hdk { stroke-width: 1.5; stroke-dasharray: 7 4; }
.lib-dwg .cr  { stroke-width: .8; stroke-dasharray: 2 3; stroke-opacity: .7; }
.lib-dwg .fl  { fill-opacity: .07; }
.lib-dwg .lib-clear-name { fill: var(--ink-2); font-weight: 500; font-size: 11px; }
.lib-dwg.is-thumb .t, .lib-dwg.is-thumb .hd, .lib-dwg.is-thumb .cl { stroke-width: .6; }
.lib-dwg.is-thumb .hdk { stroke-width: 1.1; stroke-dasharray: 5 3; }
.lib-dwg.is-thumb .cr { stroke-width: .6; }
/* The full drawing's tile is 640 units wide; on phones it shrinks to about half, so annotation grows to stay legible. */
@media (max-width: 559px) {
  .lib-dwg.is-full text { font-size: 21px; }
  .lib-dwg.is-full .lib-clear-name { font-size: 17px; }
  .lib-dwg.is-full .lib-front { transform: translateY(9px); }
}
