.sheet-midi-v3 .smt-workspace{height:560px;min-height:500px;color:var(--mg-text);background:var(--mg-surface);border:1px solid var(--mg-line);border-radius:20px;box-shadow:0 18px 54px #24283008}.sheet-midi-v3 .smt-toolbar{gap:16px;min-height:72px;padding:16px 24px;border-color:var(--mg-line);border-radius:20px 20px 0 0;background:var(--mg-surface)}.sheet-midi-v3 .smt-toolbar h1{font-size:16px;font-weight:600;letter-spacing:-.015em}.sheet-midi-v3 .smt-toolbar svg{flex-shrink:0;color:var(--mg-link)}.sheet-midi-v3 .smt-account{min-width:0;font-size:13px;color:var(--mg-text-secondary);overflow-wrap:anywhere}.sheet-midi-v3 .smt-body,.sheet-midi-v3 .smt-canvas{min-height:0;border-radius:0 0 20px 20px}.sheet-midi-v3 .smt-canvas{background:var(--mg-surface-subtle)}.sheet-midi-v3 .smt-canvas-backdrop{background:transparent}.sheet-midi-v3 .smt-stage{min-height:0;padding:24px}.sheet-midi-v3 .smt-empty{width:100%;max-width:740px;height:100%;padding:28px;border:1px dashed var(--mg-control);border-radius:16px;background:var(--mg-surface)}.sheet-midi-v3 .smt-empty h2{font-size:clamp(23px,3vw,30px);line-height:1.25;letter-spacing:-.025em}.sheet-midi-v3 .smt-dialog :is(p,ul),.sheet-midi-v3 .smt-empty p,.sheet-midi-v3 .smt-file p,.sheet-midi-v3 .smt-success p{color:var(--mg-text-secondary);line-height:1.6;overflow-wrap:anywhere}.sheet-midi-v3 :is(.smt-primary,.smt-secondary){min-height:44px;height:auto;max-width:100%;padding:11px 20px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:600;line-height:1.45;white-space:normal;text-align:center;box-shadow:none;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.sheet-midi-v3 .smt-primary{color:#fff;background:var(--mg-action);background-image:none}.sheet-midi-v3 .smt-secondary{color:var(--mg-text);border-color:var(--mg-control);background:var(--mg-surface)}.sheet-midi-v3 :is(.smt-primary,.smt-secondary):hover:not(:disabled){box-shadow:0 0 0 4px #8ea8e833;transform:translateY(-1px)}.sheet-midi-v3 :is(.smt-primary,.smt-secondary):active:not(:disabled){transform:translateY(0)}.sheet-midi-v3 .smt-workspace :is(button,a,input):focus-visible{outline:2px solid var(--mg-link);outline-offset:3px}.sheet-midi-v3 .smt-preview-state{min-height:0;padding:0}.sheet-midi-v3 .smt-preview{min-height:0;border-radius:12px}.sheet-midi-v3 .smt-file{min-height:180px;color:var(--mg-text);border-color:var(--mg-control);background:var(--mg-surface)}.sheet-midi-v3 .smt-file svg{color:var(--mg-link)}.sheet-midi-v3 .smt-preview-actions{position:static;flex-wrap:wrap;flex-shrink:0;gap:12px}.sheet-midi-v3 .smt-preview-actions>*{margin:0}.sheet-midi-v3 .smt-success{padding:16px;overflow-y:auto}.sheet-midi-v3 .smt-success-heading{gap:12px;margin-bottom:16px;color:var(--mg-link)}.sheet-midi-v3 .smt-success-heading svg{width:36px;height:36px;margin:0;flex-shrink:0}.sheet-midi-v3 .smt-success-heading h3{color:var(--mg-text);font-size:clamp(22px,3vw,30px);line-height:1.25}.sheet-midi-v3 .smt-success p{margin-bottom:8px;font-size:16px}.sheet-midi-v3 .smt-result-actions{gap:12px}.sheet-midi-v3 .smt-result-actions>*{margin:0}.sheet-midi-v3 .smt-download-option{min-height:44px;max-width:100%;border-color:var(--mg-control);color:var(--mg-text);background:var(--mg-surface);overflow-wrap:anywhere}.sheet-midi-v3 .smt-download-selected{border-color:var(--mg-link);color:#fff;background:var(--mg-link)}.sheet-midi-v3 .smt-progress-badge{background:var(--mg-action)}.sheet-midi-v3 :is(.smt-overlay,.smt-login-overlay){padding:20px;background:#24283099;overflow-y:auto}.sheet-midi-v3 :is(.smt-dialog,.smt-login-dialog){max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid var(--mg-line);border-radius:20px;color:var(--mg-text);background:var(--mg-surface);background-image:none;box-shadow:0 24px 80px #10182829}.sheet-midi-v3 .smt-dialog h3{color:var(--mg-text);text-align:center;overflow-wrap:anywhere}.sheet-midi-v3 .smt-dialog .lucide-loader-circle{color:var(--mg-link)}.sheet-midi-v3 .smt-progress-track{background:var(--mg-line)}.sheet-midi-v3 .smt-progress-fill{background:var(--mg-link)}.sheet-midi-v3 .smt-login-dialog :is(h2,input){color:var(--mg-text)}.sheet-midi-v3 .smt-login-dialog :is(p,label,span){color:var(--mg-text-secondary)}.sheet-midi-v3 .smt-login-dialog input{min-height:44px;border-color:var(--mg-control);background:var(--mg-surface)}.sheet-midi-v3 .smt-login-dialog a{color:var(--mg-link);border-color:var(--mg-line)}.sheet-midi-v3 .smt-login-close{display:grid;width:44px;height:44px;place-items:center;color:var(--mg-text-secondary)}.sheet-midi-v3 .smt-login-error{color:#a32626;background:#fff2f2;border-color:#e9bcbc}@media (max-width:639px){.sheet-midi-v3 .smt-workspace{height:540px}.sheet-midi-v3 .smt-toolbar{padding:12px 16px;gap:12px}.sheet-midi-v3 .smt-toolbar h1{font-size:14px}.sheet-midi-v3 .smt-toolbar .smt-primary{padding:10px 14px}.sheet-midi-v3 .smt-stage{padding:12px}.sheet-midi-v3 .smt-empty{padding:24px 16px}.sheet-midi-v3 .smt-preview-actions>*{flex:1 1 180px}.sheet-midi-v3 .smt-dialog,.sheet-midi-v3 .smt-login-dialog{padding:28px 20px}}@media (prefers-reduced-motion:reduce){.sheet-midi-v3 :is(.smt-primary,.smt-secondary,.smt-progress-fill){transition:none;transform:none}.sheet-midi-v3 :is(.smt-primary,.smt-secondary):hover:not(:disabled){transform:none}}body:has(.sheet-midi-v3) [data-sheet-image-preview]{background:var(--mg-canvas,#fafbfd);color:var(--mg-text,#242830)}body:has(.sheet-midi-v3) [data-sheet-image-preview] .chakra-modal__header{border-bottom:1px solid var(--mg-line,#e4e8ee);font-size:18px;font-weight:600}body:has(.sheet-midi-v3) [data-sheet-preview-toolbar]{max-width:calc(100% - 24px);flex-wrap:wrap;justify-content:center;gap:4px;padding:8px;border:1px solid var(--mg-line,#e4e8ee);border-radius:14px;background:var(--mg-surface,#fff);box-shadow:0 8px 28px #24283018}body:has(.sheet-midi-v3) [data-sheet-preview-toolbar] button{width:44px;height:44px;margin:0;color:var(--mg-text,#242830)}body:has(.sheet-midi-v3) [data-sheet-preview-toolbar] button:hover{background:var(--mg-surface-subtle,#f1f4f8)}body:has(.sheet-midi-v3) [data-sheet-image-preview] .chakra-spinner{color:var(--mg-link,#355f91)}body:has(.sheet-midi-v3) [data-sheet-image-preview] button:focus-visible{outline:2px solid var(--mg-link,#355f91);outline-offset:3px}