/* Studio 2 — calm, spacious workspace. Loaded after the original component styles. */
.emst-shell{--emst-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--emst-line:#e3e6ea;--emst-soft:#f5f6f8;--emst-ink:#202733;--emst-muted:#79818c;grid-template-rows:68px minmax(0,1fr) 64px;background:#edf0f3}
.emst-topbar{padding:0 22px;gap:18px;box-shadow:0 2px 14px #14243a05;z-index:12}
.emst-brand__name{font-size:18px;letter-spacing:-.6px}.emst-brand__logo{max-width:135px}
.emst-topbar__title strong{font-size:14px}.emst-topbar__meta{margin-top:3px;font-size:11px}
.emst-topbar__actions{gap:6px}.emst-topbar__actions .emst-btn--primary{padding:0 24px;min-height:40px;border-radius:10px;box-shadow:0 3px 10px color-mix(in srgb,var(--emst-accent) 16%,transparent)}
.emst-topbar__actions .emst-scale{display:none}.emst-topbar__status{font-size:11px}.emst-topbar__status[data-state=saved]::before{content:'●';margin-right:6px;color:#219b73}
.emst-body{grid-template-columns:78px auto minmax(0,1fr) auto}.emst-rail{padding:16px 7px;background:#fff;border-right:1px solid var(--emst-line);gap:4px;overflow:auto}
.emst-rail__btn{min-height:60px;border-radius:11px;font-size:10px;color:#67717e;gap:6px;transition:background .15s}
.emst-rail__btn svg{width:21px!important;height:21px!important;stroke-width:1.6!important}.emst-rail__btn.is-active{background:color-mix(in srgb,var(--emst-accent) 8%,white);color:var(--emst-accent)}
.emst-panel{width:310px;padding:26px 22px;border-right:1px solid var(--emst-line)}.emst-shell.has-wide-panel .emst-panel{width:350px}.emst-panel__title{font-size:23px!important;letter-spacing:-.65px;margin-bottom:12px!important}.emst-panel__hint{font-size:12px;line-height:1.65;color:#77808b;margin:0 0 18px}
.emst-kicker{color:#83908a;font-size:9px;font-weight:700;letter-spacing:1.5px;margin-bottom:10px}.emst-section-title{margin:20px 0 10px!important;font-size:12px}
.emst-side{width:264px;background:#fff}.emst-side__section{padding:22px}.emst-side h4{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#6c7683}
.emst-workspace{background-color:#edf0f3;background-image:radial-gradient(#cdd3db 1px,transparent 1px);background-size:18px 18px;overflow:hidden}
.emst-stage{top:78px!important;bottom:60px!important}.emst-ruler--h{top:54px!important}.emst-ruler--v{top:78px!important}
.emst-contextbar{position:absolute;top:0;left:0;right:0;min-height:54px;display:flex;align-items:center;gap:8px;padding:8px 18px;background:#ffffffed;border-bottom:1px solid var(--emst-line);z-index:5;overflow-x:auto;white-space:nowrap}
.emst-contextbar strong{font-size:12px}.emst-contextbar .emst-btn{min-height:30px;font-size:11px;padding:0 10px;background:white}.emst-contextbar svg{width:15px!important;height:15px!important}.emst-context-size{font-size:10px;color:var(--emst-muted);margin-right:auto}.emst-context-hint{display:flex;align-items:center;gap:8px;font-size:12px;color:#7a8490;margin-right:auto}
.emst-artboard{box-shadow:0 12px 36px #26354518,0 1px 3px #26354520!important}.emst-legend{bottom:18px!important}.emst-zoom{bottom:14px!important;background:white;border:1px solid var(--emst-line);box-shadow:0 2px 8px #22334408;border-radius:10px}
.emst-bottom{display:flex;align-items:center;gap:18px;padding:8px 22px;border-top:1px solid var(--emst-line);background:#fff;z-index:10;min-width:0}.emst-bottom nav{display:flex;gap:8px;overflow-x:auto;flex:1;min-width:0}.emst-side-tab{appearance:none;display:flex;align-items:center;gap:8px;border:1px solid transparent;background:#f6f7f9;border-radius:8px;color:#657080;padding:8px 12px;font-size:12px;white-space:nowrap;cursor:pointer}.emst-side-tab b{font-size:10px;background:#e8ebef;padding:2px 6px;border-radius:4px}.emst-side-tab small{font-size:9px;color:#818b97}.emst-side-tab.is-active{color:var(--emst-accent);background:color-mix(in srgb,var(--emst-accent) 5%,white);border-color:color-mix(in srgb,var(--emst-accent) 28%,white)}.emst-bottom__hint{font-size:10px;color:#8e98a4}.emst-bottom>.emst-btn{font-size:11px}
.emst-layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 12px;margin:18px 0}.emst-layout{appearance:none;padding:0;overflow:hidden;text-align:left;background:white;border:1px solid #e4e7eb;border-radius:11px;cursor:pointer;transition:transform .15s,box-shadow .15s}.emst-layout:hover{transform:translateY(-3px);box-shadow:0 6px 16px #1d304318}.emst-layout:focus-visible{outline:2px solid var(--emst-accent);outline-offset:3px}.emst-layout__art{display:flex;flex-direction:column;justify-content:center;position:relative;aspect-ratio:.8;padding:16px 13px;gap:16px;overflow:hidden}.emst-layout__art i{display:block;width:26px;height:3px;position:absolute;top:18px}.emst-layout__art strong{font-family:Arial,sans-serif;font-weight:800;line-height:.95;font-size:24px;letter-spacing:-1px}.emst-layout__art small{font-size:6px;font-weight:700;letter-spacing:1px;position:absolute;bottom:18px}.emst-layout__label{display:block;padding:10px;font-size:11px;font-weight:650}.emst-layout__label small{display:block;color:#8b929c;font-size:9px;font-weight:400;margin-top:3px}
.emst-batch-actions{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.emst-batch-list{border:1px solid var(--emst-line);border-radius:8px;overflow:hidden}.emst-batch-row{display:flex;align-items:center;gap:9px;padding:12px;border-bottom:1px solid var(--emst-line);cursor:pointer;font-size:12px}.emst-batch-row:last-child{border:0}.emst-batch-row input{accent-color:var(--emst-accent)}.emst-batch-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;flex:1}.emst-batch-row span{display:flex}.emst-batch-row svg{width:15px!important}.emst-arrange-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.emst-arrange-grid .emst-btn{font-size:11px}
.emst-check-card{padding:16px;margin:14px 0;border:1px solid var(--emst-line);border-radius:10px;font-size:12px;line-height:1.6}.emst-check-card>small{display:block;color:#7c8692;margin-bottom:12px}.emst-check-card p{font-size:11px}.emst-check-item{display:flex;align-items:flex-start;gap:8px;padding:10px 0;border:0;border-top:1px solid var(--emst-line);background:none;text-align:left;font-size:11px;color:#875d27;cursor:pointer;line-height:1.55}.emst-check-item svg{width:14px!important;height:14px!important;margin-top:2px}
.emst-commands{position:absolute;inset:0;z-index:100;background:#12223c55;backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:flex-start;padding:14vh 20px 20px}.emst-commands section{width:560px;max-width:100%;background:white;box-shadow:0 24px 100px #0003;border:1px solid #fff;border-radius:16px;overflow:hidden}.emst-command-search{display:flex;gap:10px;align-items:center;padding:16px;border-bottom:1px solid var(--emst-line)}.emst-command-search input{border:0;box-shadow:none;flex:1;min-width:0}.emst-command-search .emst-btn span{display:none}.emst-command-list{padding:8px;max-height:45vh;overflow:auto}.emst-command-list button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px;border:0;background:white;font-size:13px;color:var(--emst-ink);border-radius:7px;cursor:pointer;text-align:left}.emst-command-list button:hover,.emst-command-list button.is-active{background:var(--emst-soft)}.emst-command-list kbd{font-family:inherit;font-size:10px;color:var(--emst-muted);background:none}.emst-commands section>p{padding:12px 20px;background:#fafbfc;color:var(--emst-muted);font-size:10px;border-top:1px solid var(--emst-line)}
.emst-review__inner{border-radius:18px}.emst-review__head h2{letter-spacing:-.5px}.emst-proof{border-radius:12px;overflow:hidden}.emst-input{border-radius:8px;min-height:36px}.emst-shell button:focus-visible,.emst-shell input:focus-visible{outline:2px solid var(--emst-accent);outline-offset:2px}
.emst-launch{background:var(--emst-accent);color:white;border-radius:10px;padding:14px 22px;box-shadow:0 4px 12px color-mix(in srgb,var(--emst-accent) 15%,transparent)}.emst-launch:hover{background:color-mix(in srgb,var(--emst-accent) 90%,black)}
@media(max-width:1350px){.emst-topbar{padding:0 12px;gap:10px}.emst-topbar__status{display:none}.emst-side{width:220px}.emst-panel{width:280px}.emst-topbar__template{display:none!important}.emst-bottom__hint{display:none}.emst-context-hint{font-size:0}.emst-context-hint svg{width:18px!important}}
@media(max-width:1100px){.emst-topbar__preview span,.emst-topbar__sides span{display:none}.emst-brand__name{font-size:14px}.emst-side{width:190px}.emst-panel{width:260px}.emst-topbar__actions>[data-action=commands] span{display:none}.emst-topbar__title{max-width:180px}}
@media(max-width:899px){.emst-shell{grid-template-rows:60px minmax(0,1fr) 56px}.emst-topbar{padding:0 10px}.emst-topbar__title{max-width:160px}.emst-topbar__actions>[data-action=commands]{display:none}.emst-topbar__actions .emst-btn--primary{padding:0 14px;min-height:38px}.emst-body{display:block}.emst-rail{padding:5px;gap:2px}.emst-rail__btn{min-height:52px;font-size:9px}.emst-panel{width:100%!important;padding:20px}.emst-side{display:none}.emst-contextbar{min-height:44px;padding:5px 8px;gap:5px}.emst-contextbar .emst-btn{font-size:10px}.emst-context-size{display:none}.emst-context-hint{display:none}.emst-ruler--h{top:44px!important}.emst-stage{top:68px!important;bottom:56px!important}.emst-ruler--v{top:68px!important}.emst-bottom{padding:7px 10px;gap:6px}.emst-side-tab{padding:7px 9px;font-size:11px}.emst-side-tab small{display:none}.emst-bottom>.emst-btn{font-size:10px;padding:0 8px}.emst-layout-grid{grid-template-columns:repeat(3,1fr)}.emst-layout__art{aspect-ratio:1}.emst-layout__art strong{font-size:25px}.emst-legend{left:12px!important;bottom:14px!important}.emst-legend__pill{font-size:9px!important;padding:4px 6px!important}.emst-zoom{right:8px!important;bottom:10px!important}.emst-zoom .emst-btn{width:27px;min-height:29px}.emst-zoom span{font-size:10px;min-width:32px}}
@media(max-width:520px){.emst-brand{display:none}.emst-topbar__title{max-width:125px}.emst-topbar__title strong{font-size:12px}.emst-topbar__help{display:none!important}.emst-topbar__actions{gap:1px}.emst-topbar__actions .emst-btn--icon{width:29px}.emst-layout-grid{grid-template-columns:1fr 1fr}.emst-legend__pill[data-guide=dieline]{display:none}.emst-bottom>.emst-btn span{display:none}.emst-contextbar .emst-btn{padding:0 8px}.emst-contextbar>strong{max-width:60px;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){.emst-shell *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
