.smart-editor .smart-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.smart-editor .smart-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.smart-editor .smart-canvas{background:var(--mm-canvas);border:1px solid var(--mm-border);border-radius:10px;min-width:0;padding:8px;overflow:auto}
.smart-canvas svg{display:block;width:100%;min-height:320px;max-height:620px}
.smart-editor svg g[role=button]{cursor:pointer;outline:none}
.smart-editor svg g[role=button]:focus-visible rect{stroke:var(--mm-gold);stroke-width:5}
.smart-editor .smart-properties{background:var(--mm-soft);padding:16px;border:1px solid var(--mm-border);border-radius:10px;min-width:0}
.smart-properties h4{margin:0 0 12px;font-size:17px}
.smart-editor [data-design-action^=split],.smart-editor [data-design-action=duplicate],.smart-editor [data-design-action=merge]{color:var(--mm-tech)}
.smart-new{max-width:460px;width:calc(100% - 28px);margin:auto;border:1px solid var(--mm-border)}
.smart-new::backdrop{background:#13171988;backdrop-filter:blur(3px)}
.smart-new .smart-toolbar{display:flex;gap:8px;flex-wrap:wrap}
input[readonly]{cursor:default;opacity:.8}
.smart-bom{border-top:1px solid var(--mm-border);margin-top:20px;padding-top:12px}.bom-scroll{overflow:auto}.smart-bom table{width:100%;border-collapse:collapse;font-size:14px}.smart-bom th,.smart-bom td{padding:10px;text-align:start;border-bottom:1px solid var(--mm-border);min-width:100px}.smart-bom th{background:var(--mm-soft)}.smart-bom small{display:block;color:var(--mm-muted)}
.smart-product-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:16px;background:var(--mm-soft);border:1px solid var(--mm-border);border-radius:10px;margin:12px 0}
.smart-product-summary strong,.smart-product-summary small{display:block}.smart-product-summary .smart-linked-price{font-size:26px;color:var(--mm-gold);font-variant-numeric:tabular-nums}.smart-product-fields{padding:12px 0;border-bottom:1px solid var(--mm-border)}.smart-product-fields h4{margin:8px 0 16px;font-size:18px}
@media(min-width:1100px){#measure-body:has(.smart-editor){max-width:1200px}.smart-editor .smart-layout{grid-template-columns:minmax(0,1fr) 310px}.smart-editor .smart-canvas{grid-column:1;grid-row:1}.smart-editor .smart-properties{grid-column:2;grid-row:1}.smart-canvas svg{min-height:480px}}
@media(max-width:500px){.smart-editor .smart-toolbar .btn{flex:1 0 auto;min-height:44px}.smart-canvas svg{min-height:260px}.smart-properties{padding:12px}.smart-new{padding:16px}}
