:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#4d4d4d;background:#f4f4f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{min-width:360px}button,input,select{font:inherit}button{cursor:pointer}html{-webkit-text-size-adjust:100%;touch-action:manipulation}.canvas-wrap{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}@media(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important;min-height:40px}button,.button,.nav-link,.tool-button{min-height:40px}input[type=range]{min-height:32px}.nav-link{min-width:40px}}@supports (padding: max(0px)){body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}}.canvas-menu-backdrop{position:fixed;inset:0;z-index:40}.canvas-menu{position:fixed;z-index:41;min-width:170px;padding:6px;border-radius:12px;background:#fff;box-shadow:0 10px 30px #00000047}.canvas-menu button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:0 12px;border:0;border-radius:8px;color:#333;background:transparent;font-size:15px;font-weight:700}.canvas-menu button:active{background:#fde7e9}.canvas-menu small{color:#999;font-size:11px;font-weight:600}
