/* Barcode Studio: quiet neutral interface; scoped selectors. */
.bs-hero{padding-block:36px 18px;max-width:1100px}
.bs-hero h1{margin:9px 0 12px;font-size:clamp(27px,4vw,40px);line-height:1.15}
.bs-hero p{max-width:780px;line-height:1.65}
.bs-kicker{font-size:12px;letter-spacing:.1em;font-weight:800;color:var(--brand-deep)}
.bs-layout{width:min(1100px,calc(100% - 36px));display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin:26px auto 0}
.bs-layout .toolbox{min-width:0;padding:24px}
.bs-layout h2{font-size:22px;line-height:1.25;margin:0 0 16px}
.bs-layout label{font-weight:700;font-size:14px;display:block;margin:13px 0 7px}
.bs-layout input[type=text],.bs-layout select{display:block;box-sizing:border-box;width:100%;max-width:100%;background:#fff;border:1px solid var(--line-strong);border-radius:10px;color:var(--text);padding:11px 12px}
.bs-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin:16px 0 8px}
.bs-layout .bs-inline{display:flex;align-items:center;gap:10px;font-size:14px;margin:13px 0 0}
.bs-layout .bs-inline input{accent-color:var(--brand)}
.bs-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.bs-actions .btn,.bs-actions .btn-secondary{flex:1 1 120px;text-align:center;cursor:pointer}
.bs-actions button:disabled{opacity:.5;cursor:not-allowed}
.bs-preview{min-height:225px;padding:24px 12px;margin:14px 0;background:white;border:1px solid var(--line-strong);border-radius:12px;display:grid;place-items:center;overflow:auto}
.bs-preview svg{width:auto;max-width:100%;height:auto}
.bs-result{font:14px/1.5 ui-monospace,monospace;word-break:break-all}
.bs-note{font-size:13px;color:var(--muted);line-height:1.6}
#bsStatus[data-error=true]{color:var(--danger);font-weight:700}
.bs-related{max-width:870px;margin:30px auto;padding:18px 22px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}
.bs-related a{font-weight:700;color:var(--brand-deep);text-decoration:underline;text-underline-offset:2px}
.bs-guide{padding:16px 0 38px;max-width:870px}
.bs-guide h2{margin-top:24px;font-size:22px}
.bs-guide p{line-height:1.65}
@media(max-width:760px){.bs-layout{grid-template-columns:1fr;width:min(100% - 22px,1100px)}.bs-layout .toolbox{padding:18px}.bs-hero{padding-block:24px 10px}.bs-actions button{flex:1 1 100%}}
@media print{header,footer,.bs-hero,.bs-form,.bs-related,.bs-guide,.bs-actions,.bs-note,#bsStatus,.bs-result{display:none!important}body,main,.bs-layout,.bs-preview{background:#fff!important;border:0!important;box-shadow:none!important;max-width:none!important;padding:0!important;margin:0!important}.bs-layout{display:block!important}.bs-output{display:block!important;border:0!important;box-shadow:none!important}.bs-output h2{display:none!important}.bs-preview{overflow:visible!important;min-height:0!important;padding:12mm!important}.bs-preview svg{max-width:180mm!important;width:auto!important}}
