/* Barcode generator. Self-hosted, system fonts only. */
.bc-app{max-width:820px}
.bc-sub{margin:18px 0 8px;font-size:18px;color:#142E84}
.bc-fields[hidden],.bc-field[hidden]{display:none}
.bc-status{min-height:1.3em;margin:8px 0 0;color:#8a1010;font-size:15px;font-weight:700}
.bc-status:empty,.bc-warn:empty{display:none}
.bc-warn{margin:6px 0 0;color:#7a5200;font-size:14px;font-weight:700}
.bc-color{display:flex;align-items:center;gap:10px}
.bc-color input[type=color]{width:56px;min-height:48px;height:48px;padding:3px;border:1px solid #b9c3d6;border-radius:8px;background:#fff;cursor:pointer;flex:none}
.bc-color code{font:14px "Courier New",Courier,monospace;color:#4a5866}
.bc-stage{margin:16px 0 0;background:#f3f6f9;border:1px solid #dbe3ea;border-radius:12px;padding:14px;text-align:center}
.bc-preview{display:inline-block;max-width:100%;overflow:auto;background:#fff;border:1px dashed #b9c3d6;border-radius:8px;padding:10px;line-height:0;box-sizing:border-box}
.bc-preview svg{display:block;max-width:100%;height:auto}
.bc-preview.is-empty{line-height:1.4;color:#4a5866;padding:28px 18px;font-size:16px}
.bc-info{margin:8px 0 0;font-size:14px;color:#4a5866}
.bc-checker{background-image:linear-gradient(45deg,#e6ebf0 25%,transparent 25%),linear-gradient(-45deg,#e6ebf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e6ebf0 75%),linear-gradient(-45deg,transparent 75%,#e6ebf0 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}
.bc-actions .tl-btn{flex:1 1 140px}
.bc-actions .tl-btn[disabled]{opacity:.45;cursor:not-allowed}
.bc-note{margin:14px 0 0;font-size:14px;color:#4a5866;max-width:70ch}
@media print{
  body *{visibility:hidden}
  #bc-preview,#bc-preview *{visibility:visible}
  #bc-preview{position:absolute;left:0;top:0;border:0;padding:0;overflow:visible}
  #bc-preview svg{max-width:none}
}
