
/* Printia Toolkit: scoped, accessible creative controls. */
.studio-toolkit{margin-top:24px;padding-top:22px;border-top:1px solid #e9e3f0;min-width:0}
.studio-kit-title h3{font-size:16px;margin:0 0 4px;color:#35284f}
.studio-kit-title p{font-size:11px;line-height:1.5;color:#81768c;margin:0 0 13px}
.studio-tabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:13px}
.studio-tabs [data-tab]{background:#f7f4fa;color:#665872;border:1px solid #e7dfee;font-weight:800;font-size:10px;border-radius:7px;min-height:34px;padding:6px 8px;cursor:pointer}
.studio-tabs [aria-selected=true]{background:#352b57;color:#fff;border-color:#352b57}
.studio-kit-panel[hidden]{display:none!important}
.studio-kit-panel{padding:11px 0 15px;border-bottom:1px solid #ede6f2}
.studio-kit-help{font-size:11px;line-height:1.55;color:#7c7188;margin:7px 0 12px}
.studio-template-list{display:grid;gap:8px}
.studio-template-list button{background:#f9f7fc;border:1px solid #e5ddec;color:#3a2d57;text-align:left;border-radius:10px;padding:10px 12px;display:grid;gap:4px;cursor:pointer}
.studio-template-list button:hover{background:#f0eaf8}
.studio-template-list b{font-size:12px}
.studio-template-list span{font-size:10px;color:#80758f}
.studio-kit-label{display:grid;gap:6px;font-size:11px;color:#6c607b;font-weight:750;margin:12px 0}
.studio-kit-label select,.studio-kit-label input[type=number],.studio-kit-label textarea{width:100%;max-width:100%;box-sizing:border-box;min-height:38px;border-radius:8px;border:1px solid #ddd2e8;background:#fff;padding:8px;color:#342746;font:inherit;font-size:13px}
.studio-kit-label textarea{min-height:74px;resize:vertical}
.studio-kit-label input[type=color]{height:37px;width:100%;border:1px solid #ded4e7;border-radius:9px;cursor:pointer;background:#fff}
.studio-kit-label input[type=range]{width:100%;accent-color:#6b549f;cursor:pointer}
.studio-kit-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.studio-kit-buttonrow{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}
.studio-kit-buttonrow button,.studio-kit-wide{min-height:36px;flex:1 1 auto;background:#f1edf6;border:1px solid #dfd5e9;border-radius:8px;padding:8px;font-size:11px;font-weight:700;cursor:pointer;color:#534266}
.studio-kit-buttonrow button:hover,.studio-kit-wide:hover{background:#e6dcf1}
.studio-kit-wide{width:100%}
.studio-shapes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.studio-shapes button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:63px;border:1px solid #e6ddec;border-radius:9px;background:#faf8fc;color:#5b426d;font-size:22px;cursor:pointer}
.studio-shapes button:hover{background:#eae0f5}
.studio-shapes button span{font-size:10px;font-weight:800}
.studio-selection-kit{margin-top:17px;border:1px solid #e8e0ee;border-radius:13px;background:#fbf9fc;padding:12px}
.studio-selection-kit h3{margin:0 0 5px;font-size:13px}
.studio-selection-kit .studio-kit-label{margin:8px 0}
.studio-layer-list{display:grid;gap:6px;max-height:270px;overflow:auto;margin-top:13px}
.studio-layer-item{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff;border:1px solid #e5ddec;color:#544566;border-radius:8px;padding:10px;font-size:11px;cursor:pointer}
.studio-layer-item.is-selected{background:#e7dbf6;border-color:#b39bc9;color:#3b2857}
.studio-toolbar-zoom{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.studio-toolbar-zoom span,.studio-toolbar-zoom output{font-weight:750;font-size:11px;color:#625574}
.studio-toolbar-zoom button{padding:7px 9px;background:#f4f0f8;color:#5b4978;border:1px solid #e1d8ea;border-radius:8px;cursor:pointer;font-size:11px;font-weight:700;min-height:34px}
.studio-kit-buttonrow button:focus-visible,.studio-kit-wide:focus-visible,.studio-tabs button:focus-visible,.studio-shapes button:focus-visible,.studio-template-list button:focus-visible,.studio-layer-item:focus-visible,.studio-toolbar-zoom button:focus-visible{outline:2px solid #7756b9;outline-offset:2px}
.studio-v2-stage-wrap:has(.studio-v2-canvas-container[style*="zoom"]){overflow:auto}
@media(max-width:1180px){.studio-v2-sidebar{max-width:none}.studio-toolkit{padding-top:17px}.studio-shapes{grid-template-columns:repeat(4,1fr)}}
@media(max-width:820px){.studio-kit-panel{padding:12px 0}.studio-template-list{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-v2-workspace-head{gap:14px}.studio-toolkit{border-top:1px solid #eadfed}}
@media(max-width:500px){.studio-template-list{grid-template-columns:1fr 1fr}.studio-kit-row{gap:8px}.studio-toolbar-zoom{justify-content:flex-start}}


.studio-kit-primary{display:grid;gap:7px;margin-bottom:14px}
.studio-kit-primary button,.studio-kit-primary label{width:100%}
.studio-kit-legacy{margin-top:15px;border:1px solid #e3d9ea;background:#fcfbfd;border-radius:10px;padding:10px}
.studio-kit-legacy summary{font-size:11px;font-weight:800;line-height:1.5;color:#594b6c;cursor:pointer}
.studio-kit-legacy .studio-v2-actions{margin-top:12px}
.studio-kit-legacy .studio-v2-help{margin-top:10px}
.studio-toolbar-zoom [data-fast]{color:#fff;background:#463565;border-color:#463565}
@media(max-width:820px){
 .studio-v2-workspace{order:1}
 .studio-v2-sidebar{order:2}
 .studio-v2-order{order:3}
 .studio-kit-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .studio-toolkit{padding-top:13px}
}
@media(max-width:420px){
 .studio-toolbar-zoom{justify-content:space-between;gap:5px}
 .studio-toolbar-zoom span{display:none}
 .studio-toolbar-zoom button{font-size:10px;padding:7px}
}
