/* Header, stages and workspace each have a distinct role in the personalisation editor. */
.btc-label-flow{display:none}.btc-label-step-back[hidden]{display:none}
.btc-product-label-dialog .btc-product-label-header{background:#30203e;border-bottom:2px solid #d6ad25;color:#fff9ef}
.btc-product-label-dialog .btc-product-label-header h2{color:#fff9ef}.btc-product-label-header p{color:#e2d7ea}
.btc-product-label-header .btc-optional-badge{background:#584066;color:#fff4cd}.btc-product-label-header .btc-label-dialog-close{color:#fff4cd}
.btc-label-section-number{display:inline-grid;place-items:center;width:29px;height:29px;margin-right:5px;background:#eee5f4;color:#684481;font:500 12px/1 'Work Sans',sans-serif;vertical-align:middle;border-radius:50%}
.btc-studio .btc-template-field>legend{display:block;font:400 24px/1.4 Castoro,serif;color:#35253f;width:100%;margin-bottom:8px}
.btc-studio .btc-template-field>legend>span{font:400 11px/1.5 'Work Sans',sans-serif;color:#75627f}
.btc-studio .btc-design-next-note{font:400 13px/1.7 'Work Sans',sans-serif;color:#736179;margin:0 0 17px;clear:both;max-width:47ch}
.btc-studio .btc-label-review-heading{font:400 22px/1.4 Castoro,serif;margin:0 0 9px;color:#3d2b49;flex:none}
.btc-studio .btc-theme-groups{background:#f3edf7;padding:6px;gap:4px;margin-bottom:20px;border-radius:4px}
.btc-studio .btc-theme-groups button{min-height:40px;padding:8px 10px;border:0;border-radius:3px;color:#6d537d;font-size:12px}
.btc-studio .btc-theme-groups button[aria-pressed=true]{background:#55328b;color:#fff9ef;box-shadow:none}
.btc-product-label-dialog .btc-label-step-back{min-height:44px;border:0;background:none;color:#55328b;padding:9px 0;font:600 13px/1.5 'Work Sans',sans-serif;cursor:pointer}
@media(max-width:700px),(max-height:500px){
 .btc-studio .btc-label-flow{display:block;flex:none;position:sticky;top:0;z-index:6;background:#eee5f4;border-bottom:1px solid #d0bddc;color:#493058}
 .btc-label-flow-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:9px 12px 0}
 .btc-label-flow-steps button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:6px 4px;border:0;border-bottom:3px solid transparent;background:none;color:#715b7e;font:500 12px/1.25 'Work Sans',sans-serif;text-align:left}
 .btc-label-flow-steps b{display:grid;place-items:center;flex:none;width:23px;height:23px;border:1px solid #b5a1c4;border-radius:50%;font:400 13px/1 Castoro,serif}
 .btc-label-flow-steps button[aria-current=step]{color:#47205f;border-color:#55328b;font-weight:700}.btc-label-flow-steps button[aria-current=step] b{background:#55328b;border-color:#55328b;color:#fff4cd}
 .btc-label-flow-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 16px;background:#f7f2fa}
 .btc-label-flow-tools p{margin:0;flex:1;min-width:0;font:400 11px/1.45 'Work Sans',sans-serif;color:#705c7c}
 .btc-label-flow-tools small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.09em;font-weight:650;color:#684481;margin-bottom:3px}
 .btc-label-flow-tools button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;max-width:55%;min-height:44px;padding:8px 11px;background:#fffdf7;border:1px solid #9d7bb5;color:#55328b;border-radius:3px;font:650 11px/1.35 'Work Sans',sans-serif;cursor:pointer;text-align:center}
 .btc-label-flow-tools button:disabled{opacity:.55;cursor:wait}.btc-label-flow button:focus-visible,.btc-label-step-back:focus-visible{outline:2px solid #55328b;outline-offset:2px}
 .btc-product-label-dialog .btc-studio{display:flex;flex-direction:column;overflow:hidden}
 .btc-product-label-dialog .btc-studio .btc-studio-controls{flex:1;height:auto;min-height:0;padding:22px 16px;overflow-y:auto;scroll-padding-top:16px}
 .btc-product-label-dialog .btc-studio .btc-proof-panel{flex:1;height:auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;justify-content:flex-start;padding:16px;background:#f4f0e7}
 .btc-studio[data-label-stage="0"] .btc-proof-panel,.btc-studio[data-label-stage="1"] .btc-proof-panel,.btc-studio[data-label-stage="2"] .btc-studio-controls{display:none!important}
 .btc-studio[data-label-stage="0"] :is(.btc-wording-fields,.btc-studio-options,.btc-print-note),.btc-studio[data-label-stage="1"] .btc-template-field{display:none!important}
 .btc-studio .btc-studio-controls>h3,.btc-studio .btc-studio-controls>p:not(.btc-print-note){display:none}
 .btc-studio .btc-wording-fields{border:0;padding:0;margin:0 0 20px}
 .btc-studio .btc-wording-fields>legend,.btc-studio .btc-template-field>legend{font-size:24px;line-height:1.4;margin-bottom:8px}
 .btc-studio .btc-template-field>legend>span{display:block;float:none;margin:6px 0 0 36px;font-size:11px}
 .btc-studio .btc-wording-intro{font-size:13px;margin-bottom:23px;max-width:40ch}
 .btc-studio .btc-studio-controls :is(input,textarea,select){font-size:16px}.btc-studio .btc-studio-controls .btc-title-field input{font-size:24px}
 .btc-studio .btc-theme-groups{display:flex;flex-wrap:wrap;margin-top:17px}.btc-studio .btc-theme-groups button{min-height:44px;font-size:11px;padding:8px}
 .btc-product-label-dialog .btc-studio .btc-template-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .btc-product-label-dialog .btc-product-label-footer{min-height:64px;padding:9px 16px;background:#30203e;border-top:1px solid #d6ad25}
 .btc-product-label-dialog .btc-product-label-footer :is(.btc-label-original,.btc-label-step-back){color:#f4e7ff;font-size:12px}
 .btc-product-label-dialog .btc-product-label-footer .button{background:#ffcf00;color:#30203e;border-color:#ffcf00;font-weight:650;font-size:12px;padding:12px 14px}
 .btc-product-label-dialog .btc-product-label-footer .button:disabled{opacity:.5}
 [data-tea-mixer] .btc-studio .btc-label-flow{margin-bottom:22px}
 [data-tea-mixer] .btc-studio[data-label-stage="2"] .btc-proof-panel{position:static;width:100%;max-width:none;background:#f4f0e7;padding:20px}
}
@media(max-height:500px) and (min-width:701px){.btc-label-flow-tools{padding:4px 16px}.btc-label-flow-tools p>span{display:none}.btc-label-flow-steps{padding-top:3px}.btc-label-flow-steps button{min-height:40px}.btc-product-label-header h2{font-size:18px}.btc-product-label-header p{font-size:10px}.btc-product-label-dialog .btc-studio .btc-proof-panel{display:flex;--proof-side-by-side:0}.btc-product-label-dialog .btc-proof-panel .btc-proof-stage{align-self:center}}
/* Keep category choices on one compact, swipeable row. */
.btc-studio .btc-theme-navigation{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:4px;align-items:center;max-width:100%;margin:17px 0 20px;padding:4px;background:#f3edf7;border-radius:4px}
.btc-studio .btc-theme-navigation .btc-theme-groups{display:flex;flex-wrap:nowrap;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;min-width:0;margin:0;padding:2px;background:transparent;border-radius:0}
.btc-theme-navigation .btc-theme-groups::-webkit-scrollbar{display:none}
.btc-studio .btc-theme-navigation [data-theme-group]{flex:0 0 auto;white-space:nowrap;min-height:44px}
.btc-studio .btc-theme-navigation .btc-theme-arrow{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:#55328b;font:400 29px/1 Castoro,serif;cursor:pointer}
.btc-studio .btc-theme-navigation .btc-theme-arrow:disabled{opacity:.25;cursor:default}
.btc-studio .btc-theme-navigation[data-scrollable=false]{grid-template-columns:minmax(0,1fr)}.btc-theme-navigation[data-scrollable=false] .btc-theme-arrow{display:none}
.btc-theme-navigation button:focus-visible{outline:2px solid #55328b;outline-offset:-2px}
.btc-label-flow-tools [data-label-design-preview]:not(:disabled){border-color:#765084;background:#fffaff;box-shadow:0 0 0 3px #76508416,0 0 15px #76508430}
