/* A4 Label Studio 1.0: styles are scoped to prevent Astra/WooCommerce conflicts. */
.a4ls, .a4ls * { box-sizing: border-box; }
.a4ls { font: 13px/1.45 Arial,Helvetica,sans-serif; color:#293a50; background:#f5f7fa; margin:0 0 24px; text-align:left; }
.a4ls button,.a4ls input { font:inherit; box-shadow:none; }
.a4ls button { cursor:pointer; text-transform:none; letter-spacing:normal; }
.a4ls button:disabled { cursor:not-allowed; opacity:.75; }
.a4ls h2,.a4ls h3,.a4ls p { margin:0; padding:0; font-family:inherit; letter-spacing:normal; line-height:inherit; text-transform:none; }
.a4ls h2,.a4ls h3 { color:inherit; }
.a4ls [hidden] { display:none!important; }
.a4ls svg { vertical-align:middle; flex-shrink:0; }
.a4ls-shell { min-height:70vh; padding-bottom:8px; }
.a4ls-topbar { height:66px; padding:0 30px; display:flex; align-items:center; justify-content:space-between; color:#edf3fa; background:#121f32; border-radius:10px 10px 0 0; }
.a4ls-brand { display:flex; align-items:center; gap:11px; }
.a4ls-logo { display:grid; grid-template-columns:repeat(3,6px); gap:3px; background:#f39442; padding:10px; border-radius:10px; }
.a4ls-logo i { display:block; height:6px; width:6px; background:white; border-radius:1px; }
.a4ls-logo i:nth-child(3),.a4ls-logo i:nth-child(7) { opacity:.4; }
.a4ls-brand>div:last-child { display:flex; flex-direction:column; gap:0; }
.a4ls-brand strong { font-size:20px; letter-spacing:-.7px; line-height:1.15; color:#fff; }
.a4ls-brand strong span { color:#f99a49; }
.a4ls-brand small { font-size:8px; letter-spacing:1.5px; color:#a3b1c5; font-weight:800; }
.a4ls-topbar-mid,.a4ls-private { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:750; color:#bdccdb; }
.a4ls-private { font-size:11px; color:#8fd0b1; }
.a4ls-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:25px 28px 21px; }
.a4ls-eyebrow { font-size:9px; letter-spacing:1.35px; font-weight:800; color:#8898aa; }
.a4ls-heading h2 { display:flex; align-items:center; flex-wrap:wrap; gap:10px; font-size:26px; font-weight:800; color:#192a43; letter-spacing:-.7px; line-height:1.35; margin-top:4px; }
.a4ls-heading h2 b { border:1px solid #f4c398; border-radius:5px; padding:4px 7px; background:#fff1e5; color:#cf7931; letter-spacing:.5px; font-size:9px; }
.a4ls-heading p { font-size:11px; margin-top:6px; color:#8797a8; }
.a4ls-new { display:flex; align-items:center; gap:7px; border:1px solid #dbe4ec!important; background:#fff!important; color:#354b65!important; padding:10px 13px!important; border-radius:8px!important; font-size:11px!important; font-weight:800!important; white-space:nowrap; min-height:39px; }
.a4ls-new:hover { border-color:#ee984f!important; color:#c9772d!important; }
.a4ls-columns { display:grid; grid-template-columns:315px minmax(0,1fr) 250px; align-items:start; gap:17px; padding:0 28px; }
.a4ls-left,.a4ls-center,.a4ls-right { display:flex; flex-direction:column; gap:15px; min-width:0; }
.a4ls-card { background:#fff; border:1px solid #e0e6ed; border-radius:11px; overflow:hidden; box-shadow:0 3px 14px #152d4808; }
.a4ls-card-head,.a4ls-preview-head { display:flex; align-items:center; gap:12px; padding:18px; border-bottom:1px solid #edf0f4; }
.a4ls-icon { height:37px; width:37px; flex:0 0 37px; display:grid; place-items:center; border-radius:10px; }
.a4ls-orange { background:#fff0e2; color:#e28b38; } .a4ls-purple { color:#7775d3; background:#efefff; } .a4ls-blue { color:#5585b8; background:#eaf4ff; }
.a4ls-card h3 { color:#2c4058; font-size:14px; font-weight:800; margin:0; line-height:1.3; }
.a4ls-card-head small,.a4ls-preview-head small { display:block; color:#9ba9b8; font-size:10px; margin-top:5px; }
.a4ls-step { font-size:10px; color:#bbc5d1; margin-left:auto; }
.a4ls-form { display:flex; flex-direction:column; gap:14px; padding:18px; }
.a4ls-field { display:flex; flex-direction:column; gap:7px; min-width:0; color:#4f6179; font-size:11px; font-weight:750; }
.a4ls-field em { color:#eb9043; font-style:normal; }
.a4ls-field input,.a4ls-sheet-name input,.a4ls-settings input[type=number] { width:100%; min-width:0; max-width:none; min-height:36px; height:36px; padding:8px 10px; border:1px solid #dfe6ec; border-radius:7px; background:white; color:#253852; box-shadow:none; outline:none; font:12px Arial,sans-serif; }
.a4ls-field input::placeholder { color:#aeb9c6; opacity:1; }
.a4ls-field input:focus,.a4ls-sheet-name input:focus,.a4ls-settings input[type=number]:focus { outline:0; border-color:#ed9752; box-shadow:0 0 0 3px #ed975222; }
.a4ls-two { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:11px; }
.a4ls-divider { height:1px; background:#edf1f5; margin:2px 0 0; }
.a4ls-quantity { display:flex; align-items:center; justify-content:space-between; gap:9px; }
.a4ls-quantity>div:first-child { display:flex; flex-direction:column; gap:5px; }
.a4ls-quantity strong { font-size:11px; font-weight:800; color:#42556f; } .a4ls-quantity small { font-size:10px; color:#9cabb9; }
.a4ls-stepper { display:flex; align-items:center; border:1px solid #dfe6ec; border-radius:7px; overflow:hidden; height:33px; }
.a4ls-stepper button { height:33px!important; min-width:31px; width:31px; border:0!important; border-radius:0!important; padding:0!important; background:#f5f7fa!important; color:#708199!important; font-size:17px!important; }
.a4ls-stepper b { font-size:12px; min-width:31px; text-align:center; }
.a4ls-position-help { display:flex; align-items:flex-start; gap:8px; background:#f6faff; border:1px solid #e4edf7; border-radius:7px; padding:11px; color:#7588a0; font-size:10px; line-height:1.6; }
.a4ls-position-help svg { color:#6682a6; } .a4ls-position-help b { color:#37587b; }
.a4ls-set { width:100%; display:flex; align-items:center; gap:9px; border:0!important; border-radius:8px!important; background:#ef8b39!important; color:white!important; font-size:12px!important; font-weight:800!important; padding:12px 14px!important; min-height:43px; box-shadow:0 3px 0 #d47927!important; }
.a4ls-set svg:last-child { margin-left:auto; } .a4ls-set:hover:not(:disabled) { background:#e37f2e!important; }
.a4ls-set:disabled { box-shadow:none!important; background:#e9bb96!important; }
.a4ls-lock-hint,.a4ls-clear { font-size:10px; display:flex; align-items:center; gap:6px; }
.a4ls-lock-hint { color:#8192a8; } .a4ls-clear { padding:0!important; margin:auto; color:#a85b55!important; background:transparent!important; border:0!important; font-weight:750!important; }
.a4ls-settings-toggle { display:flex; align-items:center; gap:12px; text-align:left; padding:15px 17px!important; width:100%; border:0!important; background:white!important; border-radius:0!important; }
.a4ls-settings-toggle>span:nth-child(2) { flex:1; display:flex; flex-direction:column; gap:5px; }
.a4ls-settings-toggle strong { font-size:11px; font-weight:800; color:#344b66; }
.a4ls-settings-toggle small { font-size:10px; color:#9aa8b8; }
.a4ls-settings-toggle b { color:#a4afbc; font-size:16px; }
.a4ls-settings { padding:16px 17px 17px; border-top:1px solid #edf0f4; }
.a4ls-settings label { color:#677b92; font-size:10px; font-weight:700; display:flex; flex-direction:column; gap:6px; }
.a4ls-settings input[type=number] { height:34px; }
.a4ls-settings .a4ls-guide-toggle { display:flex; flex-direction:row; justify-content:space-between; align-items:center; margin:15px 0; }
.a4ls-settings input[type=checkbox] { width:16px; height:16px; accent-color:#eb8d3c; margin:0; }
.a4ls-save-layout { border:1px solid #dbe6ef!important; color:#41607e!important; background:#f4f7fb!important; border-radius:7px!important; display:flex; align-items:center; gap:7px; padding:9px 11px!important; font-size:11px!important; font-weight:800!important; }
.a4ls-tip { display:flex; align-items:flex-start; gap:10px; padding:15px; border:1px solid #f2e4cb; border-radius:10px; background:#fffaf1; color:#d39240; }
.a4ls-tip svg { flex:0 0 auto; } .a4ls-tip strong { color:#81623c; font-size:11px; }
.a4ls-tip p { color:#a18d73; font-size:10px; line-height:1.65; margin-top:5px; }
.a4ls-preview-head { justify-content:space-between; }
.a4ls-preview-head-left { display:flex; align-items:center; gap:12px; }
.a4ls-badge { border-radius:6px; white-space:nowrap; padding:7px 9px; background:#fff1dc; color:#bc7f34; font-size:10px; font-weight:800; }
.a4ls-badge-ready { background:#e8f7ed; color:#248b59; }
.a4ls-stage { min-width:0; padding:20px 16px 16px; display:flex; flex-direction:column; align-items:center; background:#f0f3f7; }
.a4ls-ruler { align-self:stretch; display:flex; justify-content:space-between; align-items:center; font-size:9px; font-weight:800; letter-spacing:.7px; color:#a1adbb; margin-bottom:16px; }
.a4ls-sheet-outer { position:relative; flex:0 0 auto; margin:auto; box-shadow:0 10px 34px #253d5727,0 0 0 1px #dce4eb; }
.a4ls-sheet-scaled { transform-origin:top left; height:297mm; width:210mm; }
.a4ls-paper { width:210mm; height:297mm; background:#fff; color:#1d293a; overflow:hidden; }
.a4ls-paper-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(10,minmax(0,1fr)); width:100%; height:100%; }
.a4ls-slot { position:relative; min-width:0; min-height:0; overflow:hidden; border:1px dashed #dbe3ed; background:white; cursor:pointer; }
.a4ls-empty-slot { background:#fefefe; } .a4ls-empty-slot:hover { background:#fff9f1; }
.a4ls-selected { background:#fffaf5; border:2px solid #ee8f3d; box-shadow:inset 0 0 0 1px #ffd1ac; z-index:1; }
.a4ls-slot:focus-visible { outline:2px solid #ed9044; outline-offset:1px; }
.a4ls-empty-number { display:flex; justify-content:center; align-items:center; height:100%; width:100%; color:#c1cbd5; font-size:12px; font-weight:700; }
.a4ls-selected .a4ls-empty-number { color:#df9c63; }
.a4ls-label-content { height:100%; width:100%; position:relative; overflow:hidden; padding:9px 9px 7px; font-family:Arial,Helvetica,sans-serif; text-align:left; background:white; }
.a4ls-label-brand { display:flex; align-items:center; gap:6px; color:#59677b; font-size:8px; font-weight:800; text-transform:uppercase; white-space:nowrap; overflow:hidden; height:16px; letter-spacing:.25px; }
.a4ls-label-brand i { display:block; height:5px; width:5px; flex:0 0 5px; background:#e68c3e; border-radius:1px; }
.a4ls-label-product { display:block; color:#1d293a; font-size:13px; line-height:1.25; margin-top:5px; font-weight:800; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.a4ls-label-meta,.a4ls-label-note { display:block; font-size:9px; color:#657284; margin-top:4px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.a4ls-label-footer { position:absolute; left:9px; right:9px; bottom:6px; padding-top:5px; border-top:1px solid #e2e6eb; display:flex; justify-content:flex-end; }
.a4ls-label-footer b { font-size:11px; color:#1e293a; font-weight:800; white-space:nowrap; }
.a4ls-stage-hint { display:flex; align-items:center; gap:6px; font-size:10px; color:#a0acb9; margin-top:15px; }
.a4ls-output { border-top:1px solid #e7edf2; padding:16px 17px 17px; background:white; }
.a4ls-progress { display:flex; align-items:center; gap:10px; padding-bottom:14px; }
.a4ls-progress strong { font-size:12px; color:#304159; white-space:nowrap; } .a4ls-progress small { font-size:10px; color:#9dacbd; white-space:nowrap; }
.a4ls-track { flex:1; height:6px; min-width:30px; border-radius:10px; overflow:hidden; background:#eaf0f4; }
.a4ls-track i { display:block; height:100%; width:0; background:#ec9244; border-radius:10px; }
.a4ls-actions { display:grid; grid-template-columns:1.15fr 1fr .72fr; gap:8px; }
.a4ls-actions button { display:flex; align-items:center; justify-content:center; gap:7px; border-radius:7px!important; padding:9px 7px!important; min-height:39px; font-size:11px!important; font-weight:800!important; text-align:center; white-space:nowrap; }
.a4ls-confirm { color:white!important; background:#293b53!important; border:1px solid #293b53!important; }
.a4ls-confirm:disabled { background:#eef1f5!important; color:#a5b3c0!important; border-color:#e0e6ed!important; }
.a4ls-pdf { border:1px solid #bad8c8!important; background:#edf9f1!important; color:#22825b!important; }
.a4ls-print { border:1px solid #ee8b38!important; background:#ee8b38!important; color:white!important; }
.a4ls-pdf:disabled,.a4ls-print:disabled { background:#f6f8fa!important; color:#aab6c2!important; border-color:#e3e9ef!important; }
.a4ls-steps { display:flex; align-items:center; justify-content:center; gap:8px; font-size:10px; color:#90a0b0; }
.a4ls-steps span { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.a4ls-steps b { display:grid; place-items:center; width:19px; height:19px; border-radius:50%; background:#fff0df; color:#de8a3c; font-size:9px; }
.a4ls-steps i { width:16px; height:1px; background:#d4dce4; }
.a4ls-summary,.a4ls-history-card { padding:17px; }
.a4ls-side-head { display:flex; align-items:center; justify-content:space-between; color:#a0acbc; margin-bottom:18px; }
.a4ls-side-head small { display:block; font-size:10px; color:#a4b0bd; margin-top:5px; }
.a4ls-sheet-name { font-size:10px; font-weight:750; color:#65778e; display:flex; flex-direction:column; gap:7px; }
.a4ls-sheet-name input { font-size:11px; height:36px; }
.a4ls-overview { display:flex; flex-direction:column; gap:15px; padding:16px 0; margin-top:17px; border-top:1px solid #ecf0f3; border-bottom:1px solid #ecf0f3; }
.a4ls-overview>div { display:flex; justify-content:space-between; align-items:center; gap:7px; font-size:10px; }
.a4ls-overview span { color:#8c9bac; } .a4ls-overview b { color:#42546a; font-weight:800; }
.a4ls-state { display:flex; align-items:center; gap:10px; margin-top:16px; }
.a4ls-state>span { display:grid; place-items:center; border-radius:50%; width:35px; height:35px; flex:0 0 35px; background:#fff2df; color:#de9640; }
.a4ls-state>span.a4ls-state-ready { background:#e6f7ee; color:#2d955d; }
.a4ls-state>div { display:flex; flex-direction:column; gap:5px; }
.a4ls-state strong { font-size:11px; color:#42556b; } .a4ls-state small { font-size:9px; color:#99a9b8; }
.a4ls-history { display:flex; flex-direction:column; gap:3px; }
.a4ls-history-row { display:flex; gap:7px; align-items:center; width:100%; padding:8px 5px!important; text-align:left; background:white!important; color:inherit!important; border:1px solid transparent!important; border-radius:7px!important; }
.a4ls-history-row:hover,.a4ls-history-row.a4ls-current { border-color:#e7edf4!important; background:#f5f8fc!important; }
.a4ls-history-icon { display:grid; place-items:center; width:31px; height:33px; flex:0 0 31px; border-radius:7px; color:#879aac; background:#f2f5f9; }
.a4ls-history-text { display:flex; flex:1; flex-direction:column; gap:5px; min-width:0; }
.a4ls-history-text strong { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:10px; color:#445970; }
.a4ls-history-text small { font-size:9px; color:#9babbc; }
.a4ls-history-badge { display:grid; place-items:center; border-radius:50%; width:16px; height:16px; background:#e8f7ed; color:#2d9561; font-size:14px; }
.a4ls-history-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; min-height:135px; color:#b2bfcd; text-align:center; }
.a4ls-history-empty strong { color:#8293a8; font-size:11px; } .a4ls-history-empty small { max-width:180px; font-size:10px; line-height:1.5; }
.a4ls-storage { display:flex; align-items:center; gap:9px; padding:15px 12px; background:#e8f5ee; color:#56a47b; border-radius:10px; }
.a4ls-storage>div { display:flex; flex:1; flex-direction:column; gap:4px; }
.a4ls-storage strong { color:#487660; font-size:10px; } .a4ls-storage small { color:#8aaf9c; font-size:9px; }
.a4ls-footer { display:flex; justify-content:space-between; gap:10px; font-size:9px; color:#9babbc; letter-spacing:.8px; font-weight:800; padding:19px 28px; }
.a4ls-toast { position:fixed; z-index:99999; bottom:24px; left:50%; transform:translateX(-50%); max-width:90vw; padding:12px 18px; border-radius:9px; border:1px solid #56718c; background:#203a54; color:white; font-size:12px; box-shadow:0 12px 30px #20344b42; }
.a4ls-toast-error { background:#722d2d; border-color:#b05a54; }
.a4ls-print-root { display:none; }
.a4ls-login-notice { border:1px solid #dbe5ee; background:#f6f9fd; border-radius:8px; padding:19px; color:#405470; font-size:13px; }
.a4ls-admin-wrap { margin:15px 20px 15px 0; }
.a4ls-admin-wrap .a4ls { max-width:none; }
/* The dedicated shortcode page has no theme template parts or site navigation. */
body.a4ls-standalone-page { margin:0!important; padding:0!important; background:#f5f7fa!important; overflow-x:hidden; }
body.a4ls-standalone-page .a4ls-standalone-main,
body.a4ls-standalone-page .wp-block-shortcode,
body.a4ls-standalone-page .a4ls { margin:0!important; padding:0!important; width:100%!important; max-width:none!important; }
body.a4ls-standalone-page .a4ls-topbar { border-radius:0; }
@media(max-width:1400px) { .a4ls-columns { grid-template-columns:304px minmax(0,1fr) 225px; padding:0 18px; gap:13px; } .a4ls-heading { padding-left:18px; padding-right:18px; } .a4ls-stage { padding-left:10px; padding-right:10px; } .a4ls-progress { flex-wrap:wrap; } }
@media(max-width:1150px) { .a4ls-columns { grid-template-columns:300px minmax(0,1fr); } .a4ls-right { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; } .a4ls-storage { grid-column:1/-1; } }
@media(max-width:760px) { .a4ls-topbar { height:60px; padding:0 15px; border-radius:0; } .a4ls-brand strong { font-size:17px; } .a4ls-topbar-mid,.a4ls-private { display:none; } .a4ls-heading { padding:19px 13px; gap:9px; } .a4ls-heading h2 { font-size:21px; } .a4ls-heading p { max-width:260px; } .a4ls-new { padding:9px!important; } .a4ls-columns { display:flex; flex-direction:column; padding:0 11px; gap:15px; } .a4ls-left,.a4ls-center,.a4ls-right { width:100%; } .a4ls-right { display:flex; } .a4ls-preview-head { padding:14px; } .a4ls-output { padding:13px; } .a4ls-actions { grid-template-columns:1fr 1fr; } .a4ls-confirm { grid-column:1/-1; } .a4ls-progress,.a4ls-steps { flex-wrap:wrap; } .a4ls-footer { flex-direction:column; padding:17px 12px; } .a4ls-admin-wrap { margin:10px 10px 10px -10px; } }
@page { size:A4 portrait; margin:0; }
@media print {
  html,body { margin:0!important; padding:0!important; width:210mm!important; height:297mm!important; max-height:297mm!important; overflow:hidden!important; background:white!important; }
  body * { visibility:hidden!important; }
  .a4ls-print-root,.a4ls-print-root * { visibility:visible!important; }
  .a4ls-print-root { display:block!important; position:fixed!important; top:0!important; left:0!important; width:210mm!important; height:297mm!important; z-index:2147483000!important; background:white!important; overflow:hidden!important; margin:0!important; padding:0!important; }
  .a4ls-print-root .a4ls-paper { width:210mm!important; height:297mm!important; }
  .a4ls-print-root .a4ls-slot { border:1px solid transparent!important; cursor:auto!important; }
  .a4ls-print-root .a4ls-slot.a4ls-guides { border:.15mm solid #cbd2dc!important; }
  .a4ls-print-root .a4ls-label-content,.a4ls-print-root .a4ls-label-brand i { -webkit-print-color-adjust:exact!important; print-color-adjust:exact!important; }
}
