/* v10: a single resizing gesture; native file picker; uncluttered student UI. */
.object-resize{display:none!important;position:absolute;z-index:9;touch-action:none;pointer-events:auto!important;user-select:none;-webkit-user-select:none;width:24px;height:24px;border-radius:7px;border:1px solid #6c8be6;background:#f1f5ff;color:#2445ad;font-size:16px;font-weight:600;line-height:1;align-items:center;justify-content:center;box-sizing:border-box}
.selected>.object-resize{display:flex!important}
#objectlayer .move-image .object-resize{right:0;bottom:0;transform:translate(30%,30%);cursor:nwse-resize}
.text-object .text-resize{right:0;bottom:0;transform:translate(30%,30%);cursor:nwse-resize}
.native-image-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:42px;cursor:pointer;overflow:hidden;white-space:normal}
.native-image-picker input[type=file]{display:block!important;position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0;font-size:16px;z-index:1}
.native-image-picker:focus-within{outline:3px solid #9ab0ff;outline-offset:2px}
.student-view .tools .sep{display:none}
.student-view .tools{gap:8px}
.text-scale-hint{font-size:11px;color:#647593;line-height:1.4}
@media(max-width:750px){
 .object-resize{width:38px;height:38px;font-size:20px}
 #objectlayer .move-image .object-resize{right:0;bottom:0;transform:translate(15%,15%)}
 .text-object .text-resize{right:0;bottom:0;transform:translate(15%,15%)}
 .native-image-picker{min-height:46px;padding:10px 14px}
 .text-scale-hint{width:100%}
}

/* The touch handle extends beyond the corner rather than covering a small card. */
@media(max-width:750px){.text-object .text-resize,#objectlayer .move-image .object-resize{transform:translate(45%,45%)} }
