.has-document #edit-content[aria-pressed=true]{border-color:#85c6d0;background:#eaf9fb;color:#086c79}
.content-mode-hint,.content-selection-actions{position:absolute;left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:10px;border:1px solid #d8e4ee;border-radius:8px;background:#fff;box-shadow:0 3px 14px #17345c18;font-size:13px;color:#4b627c;white-space:nowrap}
.content-mode-hint{top:14px;padding:8px 12px;pointer-events:none}
.content-selection-actions{top:14px;padding:5px 7px 5px 12px}
.content-selection-actions .button{min-height:30px;padding:5px 9px;font-size:13px}
.content-selection-actions svg{width:14px;height:14px}
.content-mode-hint[hidden],.content-selection-actions[hidden]{display:none!important}
.content-layer{position:absolute;inset:0;z-index:2;touch-action:none;cursor:crosshair;user-select:none}
.content-box{position:absolute;box-sizing:border-box;padding:0;border:1.5px solid #198a9bbb;background:#0aa5b014;cursor:move;touch-action:none;min-width:4px;min-height:4px}
.content-box[data-kind=image]{border-color:#4377c8;background:#4377c819}
.content-box[data-kind=shape]{border-color:#ae7841;background:#ae784119}
.content-box:hover,.content-box.selected{border-width:2px;background:#1596a22a;box-shadow:0 0 0 3px #fff9}
.content-box.selected{border-color:#087f8c}
.content-box:focus-visible{outline:3px solid #123c68;outline-offset:2px}
.content-box:hover::after,.content-box.selected::after{content:attr(data-label);position:absolute;left:0;bottom:100%;max-width:180px;overflow:hidden;text-overflow:ellipsis;background:#123c68;color:#fff;border-radius:4px;padding:3px 6px;font-size:11px;white-space:nowrap;pointer-events:none}
.content-marquee{position:absolute;border:1.5px dashed #087f8c;background:#0aa5b029;pointer-events:none}
@media(max-width:600px){.has-document .toolbar{min-height:176px}.has-document .toolbar-group:first-child{grid-template-columns:repeat(3,minmax(0,1fr))}.has-document .toolbar-group:first-child #delete-pages{grid-column:auto}.content-mode-hint,.content-selection-actions{top:8px;max-width:calc(100% - 12px);font-size:12px}.content-mode-hint{white-space:normal;text-align:center}.content-selection-actions{gap:4px}.content-selection-actions .button{padding:5px 6px;font-size:12px}}
