.annotation-toolbar{padding:0 24px 14px;color:var(--muted);font-size:12px}
.annotation-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.annotation-top>.button{min-height:44px;flex:none}
.annotation-help{max-width:520px}
.annotation-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;margin-top:10px;border:1px solid #cdd9ef;border-radius:10px;background:#fff}
.annotation-tool-group,.annotation-colors{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.annotation-controls .button{min-height:44px;padding:9px 12px;font-size:12px}
.annotation-tool-group [aria-pressed=true]{box-shadow:inset 0 0 0 1px #6c8ee4}
.annotation-tool-group span{font-size:19px;line-height:1}
.annotation-colors button{display:grid;place-items:center;width:44px;height:44px;border:2px solid transparent;border-radius:9px;background:#fff;padding:6px}
.annotation-colors button>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:white;font-size:18px;background:var(--mark-color)}
.annotation-colors button[aria-pressed=true]{border-color:#6c8ee4;background:#edf2ff}
.annotation-size{display:flex;align-items:center;gap:6px;margin:0;font-size:12px}
.annotation-size select{width:62px;min-height:44px;padding:8px}
.annotation-note{font-size:11px;margin:7px 0 0}
.annotation-layer{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;overflow:hidden}
.annotation-layer.editing{pointer-events:auto;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}
.annotation-layer.deleting{cursor:default}
.annotation-editing .field-hit{pointer-events:none}
.annotation-deletable{cursor:pointer}
.annotation-deletable:hover{filter:drop-shadow(0 0 2px #d12b2b)}
@media(max-width:1100px){.annotation-toolbar{padding:0 14px 14px}}
@media(max-width:600px){.annotation-controls{gap:8px;padding:9px}.annotation-tool-group{width:100%}.annotation-tool-group .button{flex:1;padding:8px 5px}.annotation-help{font-size:11px}}
@media print{.annotation-toolbar{display:none!important}.annotation-layer{pointer-events:none!important}}
